[SDL] no SDL_YieldThread() function?
Ryan C. Gordon
icculus at clutteredmind.org
Sun Mar 6 22:33:51 PST 2005
> Nope, that's an undocumented side effect of the way the underlying
> Win32 call works.
>
> For example, SDL_Delay(0) on Linux does precisely nothing. (At least,
> that was the case last time I checked.)
David's right, but an SDL_Delay(10) (or perhaps even an SDL_Delay(100),
depending on the thread in question) works wonders in most places.
--ryan.
More information about the SDL
mailing list