SDL_SemWaitTimeout patch for BeOS

The current SDL-1.2.9/src/thread/beos/SDL_syssem.c returns -1 if the
acquire_sem timeouts which according to the DocWiki is not correct.
I’ve added support for the B_TIMED_OUT and B_WOULD_BLOCK in the switch.

Jon Daniel
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_syssem.c-BeOS.patch
Type: text/x-patch
Size: 414 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050917/cf0446d1/attachment.bin

The current SDL-1.2.9/src/thread/beos/SDL_syssem.c returns -1 if the
acquire_sem timeouts which according to the DocWiki is not correct.
I’ve added support for the B_TIMED_OUT and B_WOULD_BLOCK in the switch.

Good catch; I’ve added this to CVS.

Thanks,
–ryan.