This is an archive of the discontinued LLVM Phabricator instance.

Disable monitor thread creation by default.
ClosedPublic

Authored by hbae on Sep 19 2016, 12:05 PM.

Details

Summary

This change set disables creation of monitor thread by default.
The global counter maintained by the monitor thread was replaced by logic that uses system time directly, and cyclic yielding on Linux target was also removed since there was no clear benefit of using it. Turning on KMP_USE_MONITOR variable (=1) enables creation of monitor thread again if it is really necessary for some reasons.

Diff Detail

Repository
rL LLVM

Event Timeline

hbae updated this revision to Diff 71863.Sep 19 2016, 12:05 PM
hbae retitled this revision from to Disable monitor thread creation by default..
hbae updated this object.
hbae set the repository for this revision to rL LLVM.
hbae added a subscriber: openmp-commits.
tlwilmar accepted this revision.Sep 27 2016, 8:16 AM
tlwilmar edited edge metadata.

LGTM

This revision is now accepted and ready to land.Sep 27 2016, 8:16 AM
jlpeyton accepted this revision.Sep 27 2016, 10:14 AM
jlpeyton edited edge metadata.

LGTM

This revision was automatically updated to reflect the committed changes.