summaryrefslogtreecommitdiffstats
path: root/libcxx/test/thread/thread.mutex/thread.lock
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-2053-2483/+0
| | | | llvm-svn: 224658
* Allow libc++ to be built on systems without POSIX threadsJonathan Roelofs2014-09-0546-0/+92
| | | | | | | | | | If you're crazy enough to want this sort of thing, then add -D_LIBCPP_HAS_NO_THREADS to your CXXFLAGS and --param=additiona_features=libcpp-has-no-threads to your lit commnad line. http://reviews.llvm.org/D3969 llvm-svn: 217271
* Implement N3891: A proposal to rename shared_mutex to shared_timed_mutexDavid Majnemer2014-03-1715-45/+45
| | | | | | | | | | This is as straightforward as it sounds, a renamed from shared_mutex to shared_timed_mutex. Note that libcxx .dylib and .so files built with c++14 support need to be rebuilt. llvm-svn: 204078
* N3659: Shared locking in C++ Revision 2, c++1y onlyHoward Hinnant2013-09-2124-1/+1151
| | | | llvm-svn: 191127
* 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-081-1/+1
| | | | llvm-svn: 174726
* [tests] Increase a bunch of wait limits.Daniel Dunbar2013-02-084-4/+4
| | | | | | | | | | - 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-062-3/+3
| | | | | | are hitting the timing limits too often. llvm-svn: 174539
* update test for explicit bool operator.Howard Hinnant2012-02-251-3/+3
| | | | llvm-svn: 151461
* N3191: C++ Timeout SpecificationHoward Hinnant2010-11-203-3/+3
| | | | llvm-svn: 119909
* license changeHoward Hinnant2010-11-1630-60/+60
| | | | llvm-svn: 119395
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-042-4/+4
| | | | | | 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
* Fixing whitespace problemsHoward Hinnant2010-08-225-7/+3
| | | | llvm-svn: 111765
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-1130-30/+30
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-1130-0/+1246
llvm-svn: 103490
OpenPOWER on IntegriCloud