Thread suspend when scheduler is locked.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




Hello,

In the following sequence:

  cyg_scheduler_lock();
  cyg_thread_suspend(thread);

the second call returns immediately that is very surprising. Is it a bug
or fature?

-- Sergei.



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



[Linux Embedded]     [U-Boot V2]     [Linux Kernel]     [Linux MIPS]     [Linux ARM]     [Linux for the Blind]     [Linux Resources]     [Photo]     [Yosemite]     [ISDN Cause Codes]     [ECOS Home]

Add to Google Powered by Linux