summaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2013-11-11 13:33:48 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2013-11-11 13:33:48 +0000
commit6162239973a3a10ae49c3cea0c1008d4f9c69b5b (patch)
tree2247476aff5dbdb9416b7e86e63da782580b594a /gcc/config/arm
parent1a80085d42aaedfbf7a2c684bd5793bb4dc72500 (diff)
downloadgcc-6162239973a3a10ae49c3cea0c1008d4f9c69b5b.tar.gz
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 'gcc/config/arm')
0 files changed, 0 insertions, 0 deletions