[Gc] multi-threading problems using gc in a win32 mingw environment

Jörg Encke encke.joerg at web.de
Wed Jun 23 07:16:55 PDT 2010


I'm trying to use the gc in an windows multi-threading application using 
the mingw gcc compiler and the glib library for multi threading.

gc is working fine as long as there is just one thread running. At some 
point when trying to allocate memory in a second thread (not the first 
time i do so in that thread)  i get the error: Fatal Error in gc: 
Collecting from unknown thread.

I compiled gc with the configure arguments:
--enable-threads=win32 --enable-thread-local-alloc --enable-parallel-mark

I'm pretty sure it's just a stupid mistake of mine.

can you help me?


More information about the Gc mailing list