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

Ivan Maidanski ivmai at
Wed Sep 1 23:09:06 PDT 2010


As a lot of various bugs for Win32 have been fixed, I wouldn't recommend using any v7 prior to v72alpha4 for any Win32 target (native, with Win32-Pthreads or Cygwin).

Tue, 31 Aug 2010 06:34:18 +0200 Henning Makholm <makholm at>:

> > 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