summaryrefslogtreecommitdiffstats
path: root/libcxx/test/thread
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in mutex_try_to_lock. This was previously trying to unlock a ↵David Chisnall2013-02-191-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 Dunbar2013-02-118-12/+12
| | | | llvm-svn: 174902
* [tests] Another batch of timeout increases.Daniel Dunbar2013-02-085-5/+5
| | | | llvm-svn: 174726
* [tests] Increase a bunch of wait limits.Daniel Dunbar2013-02-0811-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 Hinnant2013-02-065-8/+8
| | | | | | are hitting the timing limits too often. llvm-svn: 174539
* Loosen up the timing requirements on 4 more tests.Howard Hinnant2012-08-044-4/+4
| | | | llvm-svn: 161289
* noexcept and constexpr applied to <mutex>.Howard Hinnant2012-07-211-1/+8
| | | | llvm-svn: 160604
* Relax the tolerances on some timing tests.Howard Hinnant2012-07-202-2/+2
| | | | llvm-svn: 160566
* update test for explicit bool operator.Howard Hinnant2012-02-251-3/+3
| | | | llvm-svn: 151461
* Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto ↵Howard Hinnant2011-12-024-12/+13
| | | | | | Ganesh Barbati llvm-svn: 145698
* This commit was accidental. Reverting.Howard Hinnant2011-05-181-2/+2
| | | | llvm-svn: 131514
* A bunch of future tests got invalidated with the latest updates to thread. ↵Howard Hinnant2011-05-1717-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 Hinnant2011-05-173-3/+3
| | | | | | be test bugs. llvm-svn: 131479
* Brought call_once variadic call up to current spec, which allows move-only ↵Howard Hinnant2011-05-161-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 Hinnant2011-05-161-0/+20
| | | | | | move-only functors and move-only arguments, but disallows functors with non-const lvalue reference parameters. llvm-svn: 131413
* Implemented N3194Howard Hinnant2010-11-3018-695/+37
| | | | llvm-svn: 120458
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-237-0/+84
| | | | llvm-svn: 120064
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-2315-608/+0
| | | | llvm-svn: 120058
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-2315-0/+608
| | | | llvm-svn: 120057
* Update testsuite strucuture to latest draftHoward Hinnant2010-11-2312-0/+0
| | | | llvm-svn: 120054
* N3188 - Revision to N3113: Async Launch Policies (CH 36)Howard Hinnant2010-11-232-8/+8
| | | | llvm-svn: 120027
* N3191: C++ Timeout SpecificationHoward Hinnant2010-11-2011-15/+15
| | | | llvm-svn: 119909
* license changeHoward Hinnant2010-11-16211-422/+422
| | | | llvm-svn: 119395
* Relaxing timing test a bit to avoid spurious test failures under loadHoward Hinnant2010-10-071-2/+2
| | | | llvm-svn: 115920
* fixing whitespaceHoward Hinnant2010-09-281-1/+1
| | | | llvm-svn: 114967
* Fix whitespaceHoward Hinnant2010-09-041-1/+1
| | | | llvm-svn: 113089
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-0415-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 Hinnant2010-09-0311-2/+747
| | | | | | header <future> and all of Chapter 30 (for C++0x enabled compilers). llvm-svn: 113017
* [futures.shared_future]Howard Hinnant2010-09-0311-0/+864
| | | | llvm-svn: 112990
* [futures.task] and [futures.async]. Requires variadics and rvalue-ref support.Howard Hinnant2010-08-3019-3/+1113
| | | | llvm-svn: 112500
* [futures.unique_future]Howard Hinnant2010-08-2910-0/+800
| | | | llvm-svn: 112423
* [futures.promise]. Depends on rvalue-ref support to work 100%.Howard Hinnant2010-08-2820-0/+1220
| | | | llvm-svn: 112388
* Getting started on <future>Howard Hinnant2010-08-2511-0/+285
| | | | llvm-svn: 112061
* Fixing whitespace problemsHoward Hinnant2010-08-2212-18/+10
| | | | llvm-svn: 111765
* DE 23Howard Hinnant2010-08-211-3/+3
| | | | llvm-svn: 111746
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-11133-133/+133
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-11133-0/+6644
llvm-svn: 103490
OpenPOWER on IntegriCloud