Re: [AD] freeze on exit in windows

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wednesday 27 April 2005 17:18, Elias Pschernig wrote:
> The old problem.. should be fixed by the attached patch. It does 2
> things: Enables the timer mutexes, and replaces the INFINITE when
> waiting for the thread with a loop. Why the loop is necessary, I don't
> know. but the MSDN docs tell you to not use INFINITE when calling
> CoInitialize (which we do), and their example uses a loop like this as
> well.

Commited in two steps.
The Windows part I don't doubt that you tested sufficiently, but are you 
sure the multi-threading code in src/timer.c works well in MacOSX?
The previous define would have disabled multi threading in both Windows and 
OSX, so removing it now enables it in both.

Evert




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/