Mercurial > sdl-ios-xcode
view src/main/dummy/SDL_dummy_main.c @ 5107:99acf3d856cb SDL-1.2
Colin Leroy 2011-01-26 04:24:20 PST
the pthread implementation of SDL_SemWaitTimeout() uses busy waiting, while
pthread's sem_timedwait() does work. Attached are patches that make use of it
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 27 Jan 2011 00:33:26 -0800 |
parents | 5b3bb08e7dd8 |
children | 782fd950bd46 c121d94672cb |
line wrap: on
line source
/* Include the SDL main definition header */ #include "SDL_main.h" #ifdef main #undef main int main(int argc, char *argv[]) { return(SDL_main(argc, argv)); } #else /* Nothing to do on this platform */ #endif