On 13 May 2001 [EMAIL PROTECTED] wrote:

>       src/sound      : soundserver_sdl.c
>
> Log message:
> * Fixed Win32 specific code in main.c
> * (a) Added #defineable update debug code to operations.c (more to come)
> * (b) Fixed soundserver_sdl to lock the mutex before waiting on it

This causes a deadlock on win32. Call stack looks like:


SDL_SemWaitTimeout()
SDL_ConfWaitTimeout()
sound_get_command()
sci0_soundserver()
sdl_soundserver_init()

in SDL_SemWatiTimeout, it spins on the WaitForSingleObject() seemingly
forever. (I've only let it run for 10 minutes or so.)


> How about using pipes and select()ing on them? Appears to work great for the
> UNIX sound server...
> Any other suggestions?

As long as we don't forget why we start using SDL's abstractions in the
first place ;>



--
http://www.clock.org/~matt



Reply via email to