This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/24469] Possible race condition in mt_allocator causing SIGSEGV



------- 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


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