[Openmp-commits] [PATCH] D24739: Disable monitor thread creation by default.

Hansang Bae via Openmp-commits openmp-commits at lists.llvm.org
Mon Sep 19 12:05:58 PDT 2016


hbae created this revision.
hbae added reviewers: tlwilmar, jlpeyton, AndreyChurbanov, omalyshe.
hbae added a subscriber: openmp-commits.
hbae set the repository for this revision to rL LLVM.

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.

Repository:
  rL LLVM

https://reviews.llvm.org/D24739

Files:
  runtime/src/dllexports
  runtime/src/exports_so.txt
  runtime/src/kmp.h
  runtime/src/kmp_global.c
  runtime/src/kmp_runtime.c
  runtime/src/kmp_settings.c
  runtime/src/kmp_wait_release.h
  runtime/src/z_Linux_util.c
  runtime/src/z_Windows_NT_util.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24739.71863.patch
Type: text/x-patch
Size: 19382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20160919/03917bc4/attachment-0001.bin>


More information about the Openmp-commits mailing list