r263420 - in /branches/gcc-6-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Aug 8 15:40:00 GMT 2018


Author: redi
Date: Wed Aug  8 15:40:41 2018
New Revision: 263420

URL: https://gcc.gnu.org/viewcvs?rev=263420&root=gcc&view=rev
Log:
PR libstdc++/68519 use native duration to avoid rounding errors

Backport from mainline
2017-12-14  Jonathan Wakely  <jwakely@redhat.com>

	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.

Added:
    branches/gcc-6-branch/libstdc++-v3/testsuite/30_threads/condition_variable/members/68519.cc
Modified:
    branches/gcc-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/include/std/condition_variable



More information about the Libstdc++-cvs mailing list