BeOS bugs fixed

I fixed both hang problems on BeOS SDL – it should be ready to use.

Watch out NT, you’re next! :slight_smile:

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

I fixed both hang problems on BeOS SDL – it should be ready to use.
Can you elaborate on the problems? Was it something almost trivial
or was it a major design flaw?> Watch out NT, you’re next! :slight_smile:

I fixed both hang problems on BeOS SDL – it should be ready to use.
Can you elaborate on the problems? Was it something almost trivial
or was it a major design flaw?

It was something almost trivial.

The hang on quit was due to a mismatch in the number of times I grabbed
and released a mutex while locking the event queue.

The hang on re-creating the window was due to the fact that BWindow->Show()
unlocks the window the first time it is shown, but not on subsequent calls.

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/