[Gc] Manually adding/removing threads

Lothar Scholz scholz at scriptolutions.com
Sat Mar 4 08:17:35 PST 2006


i don't like the default way that the garbage collector tries to find
and check every thread running in the process as i may have a few dozens
python or pure C++ threads that do not use any of the GC memory.

I already use GC_no_dls and GC_add_roots to prevent this for memory.
Is there any way to do this for threads ?

I tried to read the source code but it seems that over the years
it became quite unreadable and will need a lot of time to study this.
More then i can afford at the moment.

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

More information about the Gc mailing list