[SDL] Re: Conditions variables and semaphores in SDL
megastep at lokigames.com
Wed Apr 19 18:18:31 PDT 2000
In article <E12i56d-0007CD-00 at roboto.devolution.com>,
Sam Lantinga <slouken at devolution.com> writes:
>> I have only played with counting semaphores as are documented in Modern
>> Operating Systems by Andrew Tanenbaum. Is this the same thing?
>> If so.... COOL. I can't wait to play with this stuff!!!!
> Yep, but it's at an unstable state until it's implemented on all platforms.
> The condition variable stuff is the most tricky, since neither Win32 nor
> BeOS nor Linux prior to glibc-2.1 have them implemented natively, and code
> that I've found for BeOS and Win32 looks like it might have subtle bugs.
AFAIK, the condition variables have been an integral part of libpthread from
the beginning, so they should be available on glibc 2.0 as well. Though you
had to install LinuxThreads on libc5...
Loki Entertainment Software
"Microsoft has done to computers what McDonald's has done to gastronomy"
More information about the SDL