[En-Nut-Discussion] Kill the idle thread?

Ulrich Prinz uprinz2 at netscape.net
Fri Sep 10 18:25:38 CEST 2010


Hi!

But don't forget that the garbage collector for threads is running 
there... If you ever kill a thread, you don't get the heap back.

Greets
Ulrich

Am 10.09.2010 16:02, schrieb Matthias Ringwald:
> Hi Henrik
>
> LOL...
>
> if you like, just patch Nut/OS to not create the IDLE thread, somewhere in the startup. Not sure, if anybody will miss it (mostly the scheduler...)
>
> Best,
>   Matthias
>
> On 10.09.2010, at 15:13, Henrik Maier wrote:
>
>> Just out of curiosity, could one kill the idle thread?
>>
>> Why? Just to save some resource as I anyway have main as the lowest priority
>> thread and this is never surrendering any CPU time. So idle has no chance to
>> ever run.
>>
>> Kind Regards
>>
>> Henrik
>>
>>
>> _______________________________________________
>> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion



More information about the En-Nut-Discussion mailing list