[SDL] Re: Why not nanosleep()?

Pierre Phaneuf pphaneuf at sx.nec.com
Tue Apr 4 10:55:20 PDT 2000

Loren Osborn wrote:

> The problem is that sleep(0) isn't as predictable/portable as we might
> hope... If I remember correctly from FileNET, something like this works
> reasonably well on WinNT, but I wouldn't trust it on Linux.

The sleep(0) works okay on Linux (we use it in Quadra). In Windows, it
is Sleep(0) you have to use (damn Win32, why the useless

Pierre Phaneuf
Systems Exorcist

More information about the SDL mailing list