summaryrefslogtreecommitdiffstats
path: root/libcxx/test/atomics/atomics.flag
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-2011-537/+0
| | | | llvm-svn: 224658
* Allow libc++ to be built on systems without POSIX threadsJonathan Roelofs2014-09-058-0/+16
| | | | | | | | | | 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
* Stephan Tolksdorf: fixes the issue in the <atomic> header and adds ↵Howard Hinnant2013-05-021-0/+9
| | | | | | | | corresponding tests. I've used macros to fall back to a user-provided default constructor if _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS (though I suspect that there won't be many users defining that macro). The tests use placement new to check that atomic values get properly zero-initialized. I had to modify the atomic_is_lock_free test, because default initialization of an object of const type 'const A' (aka 'const atomic<int>') requires a user-provided default constructor. llvm-svn: 180945
* license changeHoward Hinnant2010-11-1611-22/+22
| | | | llvm-svn: 119395
* Still working on the basic design of <atomic>. I'm working towards a system ↵Howard Hinnant2010-10-042-24/+0
| | | | | | by which the compiler only needs to define the strongest intrinsics it can. Weaker atomics in the library automatically try stronger and stronger variants, picking the weakest compiler intrinsic available. If no compiler intrinsics are available for a given operation, the library locks a mutex and does the job. Better documentation to follow... llvm-svn: 115538
* [atomics.flag] completed. Initialization is not working on clang and can't ↵Howard Hinnant2010-09-3011-3/+514
| | | | | | be made to work without defaulted default constructors. llvm-svn: 115207
* Contemplating this <atomic> reorganization...Howard Hinnant2010-09-291-1/+1
| | | | llvm-svn: 115087
* Didn't mean to commit that oneHoward Hinnant2010-09-291-275/+0
| | | | llvm-svn: 115058
* Wrestling with the slowly dawning realization that <atomic> isn't ↵Howard Hinnant2010-09-292-0/+300
implementable on any compiler at my disposal... llvm-svn: 115054
OpenPOWER on IntegriCloud