diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-12-14 20:41:52 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-12-14 20:41:52 +0000 |
commit | 83fd5e73b3c16296e0d7ba54f6c547e01c7eae7b (patch) | |
tree | 5d13ba171c0b6c8f2285e1c19c26ab9871b9f590 /gcc | |
parent | d5f6f04c914e2742aae068bcc4872af694200681 (diff) | |
download | gcc-83fd5e73b3c16296e0d7ba54f6c547e01c7eae7b.zip gcc-83fd5e73b3c16296e0d7ba54f6c547e01c7eae7b.tar.gz gcc-83fd5e73b3c16296e0d7ba54f6c547e01c7eae7b.tar.bz2 |
PR libstdc++/68519 use native duration to avoid rounding errors
PR libstdc++/68519
* include/std/condition_variable (condition_variable::wait_for):
Convert duration to native clock's duration before addition.
* testsuite/30_threads/condition_variable/members/68519.cc: New test.
From-SVN: r255665
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions