This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]