[Bug libstdc++/57641] New: std::timed_mutex.try_lock_until() is broken
mustrumr97 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Jun 18 16:29:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57641
Bug ID: 57641
Summary: std::timed_mutex.try_lock_until() is broken
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: mustrumr97 at gmail dot com
It uses the duration since the time_point's clock's epoch. What if it's not the
right clock? Different clocks may have different epochs. On my computer, the
function works OK if the time_point is from high_resolution_clock but doesn't
work if it's from steady_clock.
More information about the Gcc-bugs
mailing list