diff options
| author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2013-11-11 13:33:48 +0000 |
|---|---|---|
| committer | Jonathan Wakely <redi@gcc.gnu.org> | 2013-11-11 13:33:48 +0000 |
| commit | 6162239973a3a10ae49c3cea0c1008d4f9c69b5b (patch) | |
| tree | 2247476aff5dbdb9416b7e86e63da782580b594a /libjava/java/sql/SQLWarning.h | |
| parent | 1a80085d42aaedfbf7a2c684bd5793bb4dc72500 (diff) | |
| download | gcc-6162239973a3a10ae49c3cea0c1008d4f9c69b5b.zip gcc-6162239973a3a10ae49c3cea0c1008d4f9c69b5b.tar.gz gcc-6162239973a3a10ae49c3cea0c1008d4f9c69b5b.tar.bz2 | |
re PR libstdc++/54562 (mutex and condition variable timers)
PR libstdc++/54562
* include/std/mutex (__timed_mutex_impl::__clock_t): Use
high_resolution_clock for absolute timeouts, because
pthread_mutex_timedlock uses CLOCK_REALTIME not CLOCK_MONOTONIC.
(__timed_mutex_impl::_M_try_lock_for): Use steady_clock for relative
timeouts as per [thread.req.timing].
(__timed_mutex_impl::_M_try_lock_until<Clock,Duration>): Convert to
__clock_t time point instead of using _M_try_lock_for.
From-SVN: r204672
Diffstat (limited to 'libjava/java/sql/SQLWarning.h')
0 files changed, 0 insertions, 0 deletions
