Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a bug in mutex_try_to_lock. This was previously trying to unlock a ↵ | David Chisnall | 2013-02-19 | 1 | -1/+0 |
| | | | | | | | | | | mutex that it didn't own, causing an assertion failure in mutex.cpp. The issue was that the unique_lock went out of scope, releasing the lock on m, then m.unlock() was called on an already-unlocked mutex. This change removes the spurious m.unlock() call. If this test was previously passing for anyone with assertions enabled, then they should investigate bugs in their pthread implementation, as pthread_unlock() should not return 0 if the mutex is currently unlocked. llvm-svn: 175506 | ||||
* | [tests] Another batch of timeout increases. | Daniel Dunbar | 2013-02-11 | 8 | -12/+12 |
| | | | | llvm-svn: 174902 | ||||
* | [tests] Another batch of timeout increases. | Daniel Dunbar | 2013-02-08 | 5 | -5/+5 |
| | | | | llvm-svn: 174726 | ||||
* | [tests] Increase a bunch of wait limits. | Daniel Dunbar | 2013-02-08 | 11 | -12/+12 |
| | | | | | | | | | | - Basically I just ran the thread tests many many times on a busy machine and bumped the timeouts whenever I hit a test failure. - This is obviously subpar, but is the best I can do without the tests being rewritten to not depend on arbitrary timeouts. llvm-svn: 174721 | ||||
* | Give a lot more timing latitude to some of the timing tests. Busy buildbots ↵ | Howard Hinnant | 2013-02-06 | 5 | -8/+8 |
| | | | | | | are hitting the timing limits too often. llvm-svn: 174539 | ||||
* | Loosen up the timing requirements on 4 more tests. | Howard Hinnant | 2012-08-04 | 4 | -4/+4 |
| | | | | llvm-svn: 161289 | ||||
* | noexcept and constexpr applied to <mutex>. | Howard Hinnant | 2012-07-21 | 1 | -1/+8 |
| | | | | llvm-svn: 160604 | ||||
* | Relax the tolerances on some timing tests. | Howard Hinnant | 2012-07-20 | 2 | -2/+2 |
| | | | | llvm-svn: 160566 | ||||
* | update test for explicit bool operator. | Howard Hinnant | 2012-02-25 | 1 | -3/+3 |
| | | | | llvm-svn: 151461 | ||||
* | Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto ↵ | Howard Hinnant | 2011-12-02 | 4 | -12/+13 |
| | | | | | | Ganesh Barbati llvm-svn: 145698 | ||||
* | This commit was accidental. Reverting. | Howard Hinnant | 2011-05-18 | 1 | -2/+2 |
| | | | | llvm-svn: 131514 | ||||
* | A bunch of future tests got invalidated with the latest updates to thread. ↵ | Howard Hinnant | 2011-05-17 | 17 | -47/+47 |
| | | | | | | Fixed the tests. llvm-svn: 131509 | ||||
* | Clean up a bunch of warnings in the tests, 3 of which actually turned out to ↵ | Howard Hinnant | 2011-05-17 | 3 | -3/+3 |
| | | | | | | be test bugs. llvm-svn: 131479 | ||||
* | Brought call_once variadic call up to current spec, which allows move-only ↵ | Howard Hinnant | 2011-05-16 | 1 | -0/+20 |
| | | | | | | functors and move-only arguments, but disallows functors with non-const lvalue reference parameters. llvm-svn: 131414 | ||||
* | Brought thread variadic constructor up to current spec, which allows ↵ | Howard Hinnant | 2011-05-16 | 1 | -0/+20 |
| | | | | | | move-only functors and move-only arguments, but disallows functors with non-const lvalue reference parameters. llvm-svn: 131413 | ||||
* | Implemented N3194 | Howard Hinnant | 2010-11-30 | 18 | -695/+37 |
| | | | | llvm-svn: 120458 | ||||
* | Update testsuite strucuture to latest draft | Howard Hinnant | 2010-11-23 | 7 | -0/+84 |
| | | | | llvm-svn: 120064 | ||||
* | Update testsuite strucuture to latest draft | Howard Hinnant | 2010-11-23 | 15 | -608/+0 |
| | | | | llvm-svn: 120058 | ||||
* | Update testsuite strucuture to latest draft | Howard Hinnant | 2010-11-23 | 15 | -0/+608 |
| | | | | llvm-svn: 120057 | ||||
* | Update testsuite strucuture to latest draft | Howard Hinnant | 2010-11-23 | 12 | -0/+0 |
| | | | | llvm-svn: 120054 | ||||
* | N3188 - Revision to N3113: Async Launch Policies (CH 36) | Howard Hinnant | 2010-11-23 | 2 | -8/+8 |
| | | | | llvm-svn: 120027 | ||||
* | N3191: C++ Timeout Specification | Howard Hinnant | 2010-11-20 | 11 | -15/+15 |
| | | | | llvm-svn: 119909 | ||||
* | license change | Howard Hinnant | 2010-11-16 | 211 | -422/+422 |
| | | | | llvm-svn: 119395 | ||||
* | Relaxing timing test a bit to avoid spurious test failures under load | Howard Hinnant | 2010-10-07 | 1 | -2/+2 |
| | | | | llvm-svn: 115920 | ||||
* | fixing whitespace | Howard Hinnant | 2010-09-28 | 1 | -1/+1 |
| | | | | llvm-svn: 114967 | ||||
* | Fix whitespace | Howard Hinnant | 2010-09-04 | 1 | -1/+1 |
| | | | | llvm-svn: 113089 | ||||
* | Changed __config to react to all of clang's currently documented has_feature ↵ | Howard Hinnant | 2010-09-04 | 15 | -34/+34 |
| | | | | | | flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. llvm-svn: 113086 | ||||
* | [futures.atomic_future] and notify_all_at_thread_exit. This completes the ↵ | Howard Hinnant | 2010-09-03 | 11 | -2/+747 |
| | | | | | | header <future> and all of Chapter 30 (for C++0x enabled compilers). llvm-svn: 113017 | ||||
* | [futures.shared_future] | Howard Hinnant | 2010-09-03 | 11 | -0/+864 |
| | | | | llvm-svn: 112990 | ||||
* | [futures.task] and [futures.async]. Requires variadics and rvalue-ref support. | Howard Hinnant | 2010-08-30 | 19 | -3/+1113 |
| | | | | llvm-svn: 112500 | ||||
* | [futures.unique_future] | Howard Hinnant | 2010-08-29 | 10 | -0/+800 |
| | | | | llvm-svn: 112423 | ||||
* | [futures.promise]. Depends on rvalue-ref support to work 100%. | Howard Hinnant | 2010-08-28 | 20 | -0/+1220 |
| | | | | llvm-svn: 112388 | ||||
* | Getting started on <future> | Howard Hinnant | 2010-08-25 | 11 | -0/+285 |
| | | | | llvm-svn: 112061 | ||||
* | Fixing whitespace problems | Howard Hinnant | 2010-08-22 | 12 | -18/+10 |
| | | | | llvm-svn: 111765 | ||||
* | DE 23 | Howard Hinnant | 2010-08-21 | 1 | -3/+3 |
| | | | | llvm-svn: 111746 | ||||
* | Wiped out some non-ascii characters that snuck into the copyright. | Howard Hinnant | 2010-05-11 | 133 | -133/+133 |
| | | | | llvm-svn: 103516 | ||||
* | libcxx initial import | Howard Hinnant | 2010-05-11 | 133 | -0/+6644 |
llvm-svn: 103490 |