• Ryan C. Gordon's avatar
    Date: Tue, 11 Oct 2005 16:58:12 +0300 (EEST) · cdc45512
    Ryan C. Gordon authored
    From: =?ISO-8859-1?Q?Martin_Storsj=F6?= <martin@martin.st>
    To: sdl@libsdl.org
    Subject: [SDL] [PATCH] Use nanosleep on OS X
    
    Hi,
    
    The current version of SDL_Delay on OS X seems to always sleep at least 10
    msec. OS X has nanosleep(), which performs shorter sleeps well. The
    attached patch makes it use that one instead of select() as currently.
    
    // Martin
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401159
    cdc45512
Name
Last commit
Last update
..
audio Loading commit data...
cdrom Loading commit data...
cpuinfo Loading commit data...
endian Loading commit data...
events Loading commit data...
file Loading commit data...
hermes Loading commit data...
joystick Loading commit data...
main Loading commit data...
thread Loading commit data...
timer Loading commit data...
video Loading commit data...
.cvsignore Loading commit data...
Makefile.am Loading commit data...
SDL.c Loading commit data...
SDL_error.c Loading commit data...
SDL_error_c.h Loading commit data...
SDL_fatal.c Loading commit data...
SDL_fatal.h Loading commit data...
SDL_getenv.c Loading commit data...
SDL_loadso.c Loading commit data...