[Gc] win32_pthreads

Boehm, Hans hans.boehm at hp.com
Fri May 25 10:22:28 PDT 2007

> -----Original Message-----
> From: Romano Paolo Tenca [mailto:rotenca at telvia.it] 
> I hope this is the last version of the patch.
> My conclusion about dead lock with debug options is that under mingw
> GC_printf() hangs if another thread executing GC_printf() is 
> suspended. 
> So i introduced a new macro for debugging.stack push. I think 
> it is not a bug, but a limit of mingw/win32_pthread combination.
I haven't had a chance to look at the patch yet, but this makes me
suspicious that there is a mingw/win32_pthread internal lock that we
should be acquiring before stopping the world, at least if we want
GC_printf to work with the world stopped.  Of course, that may well be
impossible, for example, because it may not be visible to clients ...


More information about the Gc mailing list