[Gc] Whats the state of thread local storage.

Lothar Scholz scholz at scriptolutions.com
Tue Nov 22 17:38:28 PST 2005


Hello,

I found an email from october where it was mentioned that
pthread_getspecific seems to be not really supported by the garbage
collector. Is this correct for macosx, linux, win32, bsd's and solaris ?

How about variables with the "__thread" declaration keyword that exist
on linux/solaris and as "declspec(thread)" on win32.

Will the gc work correctly if i use "GC_add_roots" and
"GC_remove_roots" to tell the gc about the memory area ?


-- 
Best regards,
 Lothar Scholz              mailto:scholz at scriptolutions.com



More information about the Gc mailing list