Message ID | AANLkTi==Msqf9xmNC_tat2-ry7zNMtqMYpoe-4=uX1jJ@mail.gmail.com |
---|---|
State | New |
Headers | show |
Index: src/bitmap_allocator.cc =================================================================== --- src/bitmap_allocator.cc (revision 168845) +++ src/bitmap_allocator.cc (working copy) @@ -49,6 +49,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) { #if defined __GTHREADS __mutex_type& __bfl_mutex = _M_get_mutex(); + __bfl_mutex.lock(); #endif const vector_type& __free_list = _M_get_free_list(); using __gnu_cxx::__detail::__lower_bound;