[SDL] SDL_WM_GetCaption doc page note
jirik.svoboda at seznam.cz
Tue Mar 22 08:00:13 PST 2005
On Sat, 2005-03-05 at 18:11 -0600, braddabug wrote:
> Is there any way to yield in an SDL thread?
Sure. Use event variables. Have the yielding thread wait on an event
variable. As long you make sure the event will eventually be triggered
you can build a nice thread yielding system this way. You can make it as
sophisticated as you want it to be.
> Why isn't there an SDL_YieldThread() function?
Like everything else in SDL, only features that are supported everywhere
are included. If there is even a chance that a function can't be
implemented on some platform then it probably didn't get included in
SDL. The result is that SDL is works just about everywhere, but you
don't always get your favorite feature.
> SDL mailing list
> SDL at libsdl.org
More information about the SDL