ping [PATCH] Fix a deadlock bug in static variable initialization in libsupc++
Doug Kwan (關振德)
dougkwan@google.com
Thu Aug 16 05:38:00 GMT 2007
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
>
More information about the Gcc-patches
mailing list