[Gc] how do I use pthreads-win32 with the gc?

Achilleas Margaritis axilmar at otenet.gr
Sat Dec 8 14:04:38 PST 2007


I am trying to use pthreads-win32 with the gc, but with no luck.

If I define GC_PTHREADS before including gc.h, the compiler says that 
several symbols, including pthread_create, are not defined.

If I manually include gc_pthread_redirects.h, the linker complains that 
_GC_pthread_create is not defined.

So, does gc support pthreads-win32 or not? do I have to register the 
threads with the GC manually?



More information about the Gc mailing list