[SDL] Why not nanosleep()?

Maxim Sobolev sobomax at altavista.net
Mon Apr 3 00:54:17 PDT 2000


Hi,

I'm wondering why the SDL library doesn't use POSIX conformant nanosleep()
function in its SDL_Delay() routine. Currently select() used for this purpose,
which IMHO looks like hammering nails using computer keyboard...

I have patches at hand, so it someone will want to commit them please let me
know.

-Maxim





More information about the SDL mailing list