[En-Nut-Discussion] NutSleep(0)

Brett Abbott Brett.Abbott at digital-telemetry.com
Fri Mar 17 21:11:40 CET 2006


Hi

Try NutThreadYield(), this may achieve what you need.

Cheers
Brett

scostas wrote:

>Hi!
>
>Yes, it's me again O:)
>
>A "NutSleep(0)" will return inmediately if there are no more threads
>ready, or will wait for the next clock tick?
>
>I ask because I want to do a long job, but cutting it in subjobs and
>periodically checking that there aren't other threads that need the
>processor.
>
>Thanks again.
>_______________________________________________
>En-Nut-Discussion mailing list
>En-Nut-Discussion at egnite.de
>http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
>
>  
>

-- 
-----------------------------------------------------------------
Brett Abbott, Managing Director, Digital Telemetry Limited
Email: Brett.Abbott at digital-telemetry.com
PO Box 24 036 Manners Street, Wellington, New Zealand
Phone +64 (4) 5666-860  Mobile +64 (21) 656-144
------------------- Commercial in confidence --------------------





More information about the En-Nut-Discussion mailing list