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 not required


The idle thread in eCOS as in most systems puts the processor in a low energy mode / sleep mode, only to wake up at the next
interrupt.


In theory, you could achieve the same effect in a scheduler without an idle thread, but that would imply that the scheduler would
have to distinguish between no thread ready (idle) and some thread ready. The idle thread, always ready, is a smart convenience
allowing to simplify the code of schedulers.


You do not want to get rid of it :-)



Le 4 févr. 10 à 05:16, ganesh kr a écrit :

Hi,

I am using ecos version 3.0.
I have my own idle thread defined in my application with lowest thread
priority. Please let me know how can I desable the default idle thread
present in eCos package? Is there any default idle thread at all? Also
If assign my application idle thread with priority 0, it does not run.
Any idea why is like that.

Please provide some inputs.

Regards,
Ganesh K R

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




--
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]