------- Comment #11 from bkoz at gcc dot gnu dot org  2009-01-07 03:56 -------
Created an attachment (id=17042)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17042&action=view)
patch version 2


Hey! Sorry about the delay on this. Please try the attached patch, and let me
know if it works for you.

This appears to be another manifestation of 29118. 

I've audited the mutex usage in libstc++ sources and it looks like similar
patches may be necessary for:

mt_allocator.cc: freelist_mutex
pool_allocator.cc: palloc_init_mutex
mutex.cc: __once_mutex
locale.cc: locale_cache_mutex
debug.cc: safe_base_mutex
atomic.cc: atomic_mutex

That will be a follow-up patch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36801

Reply via email to