ping [PATCH] Fix a deadlock bug in static variable initialization in libsupc++

Jason Merrill jason@redhat.com
Thu Aug 16 18:55:00 GMT 2007


Doug Kwan (關振德) wrote:

> Actually, we have don't need
> the skip list for system with 32-bit pthread ID.  Is it desirable to
> support low-overhead recursive init detection in those systems?

Well, I implemented that checking initially because it was essentially 
free.  If it's free on such systems and it's easy to distinguish such 
systems, then sure.  If it's at all complicated, don't bother, recursive 
initialization seems very rare.

Jason



More information about the Libstdc++ mailing list