[kaffe] Threads & Boehm GC

Guilhem Lavaux guilhem at kaffe.org
Sat Jul 24 02:59:40 PDT 2004

Helmer Krämer wrote:

>On Sat, 24 Jul 2004 09:38:08 +0200
>Guilhem Lavaux <guilhem at kaffe.org> wrote:
>>It seems that the Boehm-GC needs to catch a number of pthread calls. 
>>This is not evident to implement in kaffe but I think I can do the 
>>Any comments ?
>why does the gc_pthread_redirects.h thing from boehm not
>work? I mean if kaffevm/gc.h included a header file called
>"gc-impl.h" from kaffevm/kaffe-gc or kaffevm/boehm-gc and
>unix-pthreads/thread-impl.c included kaffevm/gc.h (and thus
>boehm-gc/gc-impl.h), it should work, shouldn't it?
Yes, but I'd like not to have to include any boehm specific includes in 
If I do this, the unix-pthreads will be stuck with the boehm-gc once it 
is compiled.

If we want to have a '-Xkaffe-gc' to switch to the standard GC we may 
not be able to do so if we chose this way.


More information about the kaffe mailing list