This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Thread suspend when scheduler is locked.
- From: Sergei Organov <osv at javad dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 20 Jun 2012 22:22:40 +0400
- Subject: [ECOS] Thread suspend when scheduler is locked.
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