-
- Downloads
re PR libstdc++/57641 (std::timed_mutex.try_lock_until() is broken)
PR libstdc++/57641 * include/std/mutex (timed_mutex, recursive_timed_mutex): Move common functionality to new __timed_mutex_impl mixin. Overload try_lock_until to handle conversion between different clocks. Replace constrained __try_lock_for_impl overloads with conditional increment. * include/std/shared_mutex (shared_mutex::_Mutex): Use the new mixin. * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: New. From-SVN: r200180
Showing
- libstdc++-v3/ChangeLog 10 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/std/mutex 54 additions, 88 deletionslibstdc++-v3/include/std/mutex
- libstdc++-v3/include/std/shared_mutex 5 additions, 43 deletionslibstdc++-v3/include/std/shared_mutex
- libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/57641.cc 69 additions, 0 deletions.../testsuite/30_threads/timed_mutex/try_lock_until/57641.cc
Loading
Please register or sign in to comment