This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/60521] std::lock_guard ignores adopt_lock strategy
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Mar 2014 08:18:28 +0000
- Subject: [Bug libstdc++/60521] std::lock_guard ignores adopt_lock strategy
- Auto-submitted: auto-generated
- References: <bug-60521-4 at http dot gcc dot gnu dot org/bugzilla/>
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?