hanchenye-llvm-project/libcxx
Howard Hinnant aad745a024 Change sleep_for, sleep_until, and the condition_variable timed wait
functions to protect against duration and time_point overflow.  Since
we're about to wait anyway, we can afford to spend a few more cycles on
this checking.  I purposefully did not treat the timed try_locks with
overflow checking.  This fixes
http://llvm.org/bugs/show_bug.cgi?id=13721 .  I'm unsure if the standard
needs clarification in this area, or if this is simply QOI.  The
<chrono> facilities were never intended to overflow check, but just to
not overflow if durations stayed within +/- 292 years.

llvm-svn: 162925
2012-08-30 19:14:33 +00:00
..
cmake
include Change sleep_for, sleep_until, and the condition_variable timed wait 2012-08-30 19:14:33 +00:00
lib
src Change sleep_for, sleep_until, and the condition_variable timed wait 2012-08-30 19:14:33 +00:00
test Loosen up the timing requirements on 4 more tests. 2012-08-04 00:47:42 +00:00
www Fix a typo in the docs 2012-08-22 00:57:11 +00:00
CMakeLists.txt Andrew Morrow: The current CMake setup for libc++ incorrectly uses the variable 2012-08-05 17:37:39 +00:00
CREDITS.TXT Update CREDITS.TXT 2012-08-26 17:46:29 +00:00
LICENSE.TXT
Makefile Remove obsolete do-installhdrs target (again). 2012-08-13 16:32:15 +00:00