[Openmp-commits] [PATCH] D18577: OMP_WAIT_POLICY changes.
Hal Finkel via Openmp-commits
openmp-commits at lists.llvm.org
Tue Mar 29 14:23:30 PDT 2016
hfinkel added a subscriber: hfinkel.
hfinkel added a comment.
> 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.
To clarify, is this a change in behavior for OMP_WAIT_POLICY=active, or just for OMP_WAIT_POLICY=passive?
Repository:
rL LLVM
http://reviews.llvm.org/D18577
More information about the Openmp-commits
mailing list