[Gc] GC_INIT? Threads?

Boehm, Hans hans.boehm at hp.com
Tue Aug 20 12:09:44 PDT 2013

If you control the code that creates the other thread, it’s easiest to call the GC’s version of pthread_create instead of the pthread library’s version.  It’s probably called GC_pthread_create, but the collector can also be built to use various techniques to automatically intercept pthread_create calls.  (If it were doing that, you probably wouldn’t have this issue.)

If you don’t control the pthread_create call, then you’re on the best track.  In either case, Bruce’s advice should work.


[Truncated this message since it was running into mailing list length limits.]

More information about the Gc mailing list