[ECOS] Idle Thread trying to sleep - Error Source

Gary Thomas gary@mlbassoc.com
Mon Jul 31 18:05:00 GMT 2006

Antoine Arlaud wrote:
> Hi all,
> My debugger displayed the following error :
> Assert Fail. void Cyg_Scheduler_Implementation::rem_thread(). Idle
> Thread trying to sleep!
> What kind of action can be the source of this error ?
> Is it because there is potentially somewhere a wait condition on the
> main thread ?
> What else ?

This could easily happen if you have a blocking call in a DSR (which,
since DSRs are executed anonymously, is not allowed).

Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world

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

More information about the Ecos-discuss mailing list