summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/test/env/omp_wait_policy.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace from testsJonathan Peyton2016-05-171-3/+3
| | | | llvm-svn: 269841
* OMP_WAIT_POLICY changesJonathan Peyton2016-04-041-0/+40
This change has OMP_WAIT_POLICY=active to mean that threads will busy-wait in spin loops and virtually never go to sleep. OMP_WAIT_POLICY=passive now means that threads will immediately go to sleep inside a spin loop. KMP_BLOCKTIME was the previous mechanism to specify this behavior via KMP_BLOCKTIME=0 or KMP_BLOCKTIME=infinite, but the standard OpenMP environment variable should also be able to specify this behavior. Differential Revision: http://reviews.llvm.org/D18577 llvm-svn: 265339
OpenPOWER on IntegriCloud