This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Idle Thread trying to sleep - Error Source


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]