This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/60521] std::lock_guard ignores adopt_lock strategy


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]