[Gc] GC_get_stack_base() fallure on Mac OS X 10.6.7

Hans Aberg haberg-1 at telia.com
Sun May 22 06:43:33 PDT 2011


On 22 May 2011, at 15:20, Ivan Maidanski wrote:

> I don't understand. If the client (guile) creates several threads then it should define GC_THREADS on gc.h inclusion (so, if libgc is built as single-threaded, you will get a linkage error (GC_pthread_create or GC_register_my_thread is undefined)). Otherwise (if the client does not manipulate threads), single-threaded libgc should fit the client.
> 
> Where is the problem? And, why is it Darwin-specific?

On Mac OS X, as far as I know, all libraries have been thread safe for years. So the expectation would be to build with threads enabled.

Is there a point building it without threads on such a platform?

Hans





More information about the Gc mailing list