[Gc] Difference between version 6.3 and latest which is 6.4

Ben Hutchings ben.hutchings at businesswebsoftware.com
Thu Jun 23 11:27:07 PDT 2005


Boehm, Hans wrote:
> The collector generally has trouble finding thread-specific data.
> 
> Does Windows have a way to enumerate it?  In general it seems to
> be very hard to find it, since it's very dependent on the specific
> threads implementation.
<snip>

It's part of the TEB structure defined in <winternl.h> and that can be 
found through fs:[18h].  We know how to read each thread's saved 
registers so it shouldn't be too hard to iterate over all TLS.

Ben.


More information about the Gc mailing list