Getting the current thread

Godmar Back gback at cs.utah.edu
Sun Dec 17 16:36:56 PST 2000



 yes.  During startup.

	- Godmar

> 
> 
> Why is it not possible to find out about the current thread
> during a call to gcMalloc (from gc-incremental.c).  I have
> written:
> 
> Hjava_lang_Thread* tid;
> tid = getCurrentThread();
> 
> but it raises a segmentation fault at runtime.  Are there
> some circumstances from which you cannot call getCurrentThread()?
> 
> Thanks,
> Chris.
> 



More information about the kaffe mailing list