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 http://llvm.org/bugs/show_bug.cgi?id=9399 fixed by Ryuta Suzuki 2011-05-24 12:54:00 +00:00
include Change sleep_for, sleep_until, and the condition_variable timed wait 2012-08-30 19:14:33 +00:00
lib Allow libc++ to be built with CMake from within the LLVM tree. The libc++ part is just some renaming as the variable was already in use, conflicting with something else in the LLVM tree. Contributed by Ruben Van Boxem. 2012-03-19 15:40:23 +00:00
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 Happy new year 2012! 2012-01-01 08:16:56 +00:00
Makefile Remove obsolete do-installhdrs target (again). 2012-08-13 16:32:15 +00:00