Getting the current thread

Chris Pedley cp114 at
Sat Dec 16 06:57:03 PST 2000

Why is it not possible to find out about the current thread
during a call to gcMalloc (from gc-incremental.c).  I have

Hjava_lang_Thread* tid;
tid = getCurrentThread();

but it raises a segmentation fault at runtime.  Are there
some circumstances from which you cannot call getCurrentThread()?


More information about the kaffe mailing list