summaryrefslogtreecommitdiffstats
path: root/libcxx/test/thread/futures
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-2077-4805/+0
| | | | llvm-svn: 224658
* Add support for "fancy" pointers to promise and packaged_task.Eric Fiselier2014-10-232-0/+60
| | | | | | | | | | | | | | | | | | | | | Summary: This patch is very closely related to D4859. Please see http://reviews.llvm.org/D4859 for more information. This patch adds support for "fancy" pointers and allocators to promise and packaged_task. The changes made to support this are exactly the same as in D4859. Test Plan: "fancy" pointer tests were added to each constructor affected by the change. Reviewers: danalbert, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D4862 llvm-svn: 220471
* Allow libc++ to be built on systems without POSIX threadsJonathan Roelofs2014-09-0567-0/+134
| | | | | | | | | | 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
* Fix XFAIL condition from r208840Justin Bogner2014-05-311-3/+3
| | | | | | | The XFAILs in r208840 were too general. They were meant to only apply to testing when use_system_lib was set. llvm-svn: 209972
* Work around ABI differences due to LWG 2056 in testsJustin Bogner2014-05-152-1/+16
| | | | | | | | | When testing against the system library, there is a relatively minor ABI breakage that the std::future_errc values have been changed to avoid using zero. Update the tests that rely on the values being consistent. llvm-svn: 208840
* Fix PR19819Marshall Clow2014-04-072-1/+43
| | | | llvm-svn: 205709
* Add a test to make sure we're doing the right thing for throwing exceptions ↵Marshall Clow2014-03-241-0/+19
| | | | | | from deferred functions. This is LWG issue #2186. No change to the library needed. llvm-svn: 204678
* Add license headers to a bunch of libc++ files that were missing them. No ↵Marshall Clow2014-01-161-0/+9
| | | | | | functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch. llvm-svn: 199400
* LWG Issue 2097: packaged_task constructors should be constrainedMarshall Clow2013-10-122-0/+59
| | | | llvm-svn: 192544
* Marshall Clow: LWG Issue 2056: future_errc enums start with value 0 ↵Howard Hinnant2013-09-141-3/+3
| | | | | | (invalid value for broken_promise). llvm-svn: 190756
* Constrain launch ~ operator to defined bits.Howard Hinnant2013-07-021-1/+1
| | | | llvm-svn: 185452
* Add operators to make launch a bitmask type. Searched all of the standard, ↵Howard Hinnant2013-06-291-0/+16
| | | | | | and libc++ to see if this error occurred elsewhere and didn't see any other place. This fixes http://llvm.org/bugs/show_bug.cgi?id=16207 llvm-svn: 185265
* This is a start at making the libc++ test suite friendlier to the ↵Howard Hinnant2013-03-231-1/+6
| | | | | | -fnoexceptions flag. Although this is not a complete solution, it does reduce the number of test failures on OS X from 467 to 128 on OS X when -fno-exceptions is enabled, and does not impact the number of failures at all when -fno-exceptions is not enabled. The bulk of this code was donated anonymously. llvm-svn: 177824
* [tests] Another batch of timeout increases.Daniel Dunbar2013-02-111-3/+3
| | | | llvm-svn: 174902
* 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
* Implemented N3194Howard Hinnant2010-11-3018-695/+37
| | | | llvm-svn: 120458
* N3188 - Revision to N3113: Async Launch Policies (CH 36)Howard Hinnant2010-11-232-8/+8
| | | | llvm-svn: 120027
* license changeHoward Hinnant2010-11-1682-164/+164
| | | | llvm-svn: 119395
* 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-0411-26/+26
| | | | | | 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-039-0/+724
| | | | | | 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
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-114-4/+4
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-114-0/+100
llvm-svn: 103490
OpenPOWER on IntegriCloud