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: "turchanov at farpost dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Mar 2014 02:18:44 +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
Sergei Turchanov <turchanov at farpost dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|4.8.3 |4.4.7
--- Comment #2 from Sergei Turchanov <turchanov at farpost dot com> ---
My bad! I did not correctly specified target GCC version which should really be
4.4.7 and thus code snippet from mutex is
...
lock_guard(mutex_type& __m, adopt_lock_t __a) : _M_device(__m)
{ _M_device.lock(); }
...
which does attempt to lock a mutex.
Now as I see this bug is fixed in mainline so the question is do you plan any
new releases in 4.4.x branch?