[SDL] Re: Possible race condition in SDL_mixer
Olivier Dagenais
olivier.dagenais at canada.com
Thu Apr 12 04:20:33 PDT 2001
I am using the Multithreaded DLL version of the VC runtime, however
the "console app" is still a 32-bit Windows application, it just acts
like a Unix process in that it has redirectable stdin and stdout. (at
least, that's how I understand it)
--
----------------------------------------------------------------------
Olivier A. Dagenais - Software Architect and Developer
"Sascha Günther" <s.guenther at lives.de> wrote in message
> This might depend on yur project being a "console-app" (generally
based
> single-threaded) did you switch to multithreaded-dll in code
generation ?
> (Better use empty win32 app instead of console app, when compiling
with
> sdl).
>
> regards,
>
> sascha
>
> -----Ursprüngliche Nachricht-----
> Von: owner-sdl at lokigames.com [mailto:owner-sdl at lokigames.com]Im
Auftrag
> von Olivier Dagenais
> Gesendet: Donnerstag, 12. April 2001 03:35
> An: sdl at lokigames.com
> Betreff: [SDL] Possible race condition in SDL_mixer
>
>
> Using SDL 1.2.0 with the corresponding SDL_mixer on NT4, if I
compile
> and run the attached program in the debugger, it usually hangs while
> calling Mix_CloseAudio. (sometimes it doesn't)
>
> If you comment out the SDL_Delay ( 1000 ), all of a sudden I don't
get
> a hang.
>
> This is happening with VC6 SP5, the program being compiled as a
> console app.
>
> Anybody else see this? I'd rather not have to put a SDL_Delay in my
> program and cross my fingers.
>
> I realize programs like this don't come around very often, but this
> really threw me off while debugging my program.
>
> Thanks!
>
> --
> --------------------------------------------------------------------
--
> Olivier A. Dagenais - Software Architect and Developer
>
>
>
>
>
More information about the SDL
mailing list