This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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++


Hi Jason,

That's reasonable.  I can change that.  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?

-Doug

2007/8/15, Jason Merrill <jason@redhat.com>:
> Thanks for fixing this, and sorry about the delay.
>
> It seems like the skip list code is only used to support throwing the
> recursive_init_exception.  I think I'd prefer to just drop that and let
> recursive initialization deadlock (which is allowed under undefined
> behavior) rather than add that overhead to the common case.
>
> Jason
>


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