[SDL] SDL Digest, Vol 18, Issue 8
Mason Wheeler
masonwheeler at yahoo.com
Wed Jun 4 20:56:00 PDT 2008
Why not just have the main process wait on a condition variable that the threads set when their initialization is complete?
----- Original Message ----
From: Trevor Agnitti <trevor at lackeyccg.com>
To: sdl at lists.libsdl.org
Sent: Wednesday, June 4, 2008 7:20:47 PM
Subject: Re: [SDL] SDL Digest, Vol 18, Issue 8
>This arbitrary artificial delay strikes me as a makeshift hack to get
>things to work and not the "right" way to do things. Isn't there some
>sort of AssertThreadIsFullyCreated() function? I always feel uneasy
>when doing hacks like that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080604/97d3eb9f/attachment.htm>
More information about the SDL
mailing list