Hard-to-reproduce GC bug

Walter Bright newshound1 at digitalmars.com
Sun Dec 7 16:04:09 PST 2008


Walter Bright wrote:
> Steven Schveighoffer wrote:
>> I'd say most likely that the GC doesn't see anything declared as 
>> __thread, so when you use that pointer as the only reference to GC 
>> allocated data, it doesn't see that it's still in use, and will collect.
> 
> Looks like I need to do some research to see how the gc can discover the 
> extent of tls data.

I've got this working now for Windows and Linux for the main program 
(not for dll's or shared libraries).



More information about the Digitalmars-d mailing list