[Bug libstdc++/24469] Possible race condition in mt_allocator causing SIGSEGV
bkoz at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 3 17:52:00 GMT 2006
------- Comment #6 from bkoz at gcc dot gnu dot org 2006-03-03 17:52 -------
Created an attachment (id=10963)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10963&action=view)
make _M_used, _M_free atomic
Hey. This is a patch to make these operations atomic. It's based on top of
another set of patches that improve scalability, and some cleanups.
I'm awaiting the assignments for some of this, and when I do I'll stagger that
part in first.
The use of atomic updates kills performance on x86. Perhaps there is a better
way to do this.
-benjamin
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24469
More information about the Gcc-bugs
mailing list