Rockbox mail archiveSubject: Re: time to sleep?
From: Björn Stenberg (bjorn_at_haxx.se)
Daniel Stenberg wrote:
Do we really want to make the threads do any more than sleep/yield/queue_wait when they are ready to go to sleep?
I suggest we make the scheduler a tad more advanced, rather than make each thread more complex. So the thread code looks the same, but threads are not scheduled until their sleep() or queue_wait() is complete.
Page was last modified "Jan 10 2012" The Rockbox Crew