[Bug libstdc++/60521] std::lock_guard ignores adopt_lock strategy
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 14 08:18:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60521
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2014-03-14
Ever confirmed|0 |1
Severity|blocker |normal
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Sergei Turchanov from comment #0)
> lock_guard(mutex_type& __m, adopt_lock_t) : _M_device(__m)
> { } // calling thread owns mutex
Where in that code do you think it locks the mutex?
More information about the Gcc-bugs
mailing list