Idle Task Library

new topic     » topic index » view thread      » older message » newer message

I just posted an update to my Idle Task Library on the User Contributions. It
now works on linux AND windows.

It provides 2 useful routines: nanosleep() - to sleep for less than 1 second,
and idletask() - causes the Euphoria task scheduler to idle the CPU when not
running other tasks (otherwise, the scheduler will use active waiting when there
is less than 1 second between scheduled tasks, which hogs the CPU) Read the
comments in the source file for more info and usage examples.

Read this conversation for more information:
http://www.listfilter.com/cgi-bin/esearch.exu?thread=1&fromMonth=3&fromYear=B&toMonth=5&toYear=B&keywords=%22Multitasking:+active+waiting!%3F%22

~Ryan W. Johnson

Fluid Application Environment
http://www.fluidae.com/

[cool quote here, if i ever think of one...]

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu