On Sat, 13 Dec 2003 13:41:08 +0100, Matthias Weingart wrote:

Bill,

thanks for the code. (Your floating point #defines are tricky. :-) I think
I will spend a timer for each task to let swap() know how long each task
will have to sleep, and swap() will only load non-sleeping tasks or
go into LPM.

-------------------------------------------------------

Yes, that is one failing of the tasker.  It has no concept of an idle task
making it difficult to easily implement LPM when there is nothing to do.

Well what can you expect? It was originally written to provide threading
on a PC running DOS well over 10 years ago.  Since then, it has been ported
to close to a dozen different architectures and compilers.

-Bill



Reply via email to