This is an archive of the discontinued LLVM Phabricator instance.

Prevent monitor thread creation when KMP_BLOCKTIME="infinite"
ClosedPublic

Authored by jlpeyton on Dec 17 2015, 2:30 PM.

Details

Summary

When users sets envirable KMP_BLOCKTIME to "infinite" (the time one busy-waits at barrieres, etc.), the monitor thread is not useful and can be ignored. This change prevents the creation of the monitor thread when the users sets KMP_BLOCKTIME to "infinite".

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton updated this revision to Diff 43186.Dec 17 2015, 2:30 PM
jlpeyton retitled this revision from to Prevent monitor thread creation when KMP_BLOCKTIME="infinite".
jlpeyton updated this object.
jlpeyton set the repository for this revision to rL LLVM.
jlpeyton added a subscriber: openmp-commits.
tlwilmar accepted this revision.Dec 18 2015, 2:48 PM
tlwilmar edited edge metadata.

LGTM

This revision is now accepted and ready to land.Dec 18 2015, 2:48 PM
This revision was automatically updated to reflect the committed changes.