[Vm-dev] Linux VM and Delay.

Craig Latta craig at netjam.org
Tue Jun 19 01:20:11 UTC 2007

> The Linux kernel refuses (or did the last time I checked) to go to
> sleep in select timeout for < a timeslice; it just returns
> immediately.

     Flow has its own "relinquish physical processor" primitive, which
uses pthread_cond_timedwait(). Works great: proper timing, no undesired
CPU activity. Same code works on MacOSX, too.


Craig Latta
improvisational musical informaticist
Smalltalkers do: [:it | All with: Class, (And love: it)]

More information about the Vm-dev mailing list