[Gc] Re: GC v.7.1 DARWIN x86 usage of threads

Henning Makholm makholm at octoshape.com
Mon Aug 30 21:34:18 PDT 2010


> 1. Did any of you have tested pthread_create instead of GC_CreateThread
> on Win32(v.7.1)? Does it work fine?

The GC does not implement pthread_create (or any other thread primitive);
it merely wraps the one provided by the environment, IF the environment
provides one.

If you have a pthreads library for Win32, such as if you use Cygwin-GCC,
you should be able to define GC_WIN32_PTHREADS and get it. Then,
however, you don't get a CreateThread wrapper.

-- 
Henning Makholm
Octoshape ApS




More information about the Gc mailing list