These changes add support for Intel's umonitor/umwait usage in wait code, for architectures that support those intrinsic functions. Usage of umonitor/umwait is off by default, but can be turned on by setting the KMP_USER_LEVEL_MWAIT environment variable.
Patch by Terry Wilmarth and Johnny Peyton.
clang-tidy: warning: unused function 'kmp_tpause' [clang-diagnostic-unused-function]
not useful
clang-tidy: warning: invalid case style for function 'kmp_tpause' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'hint' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for parameter 'counter' [readability-identifier-naming]
not useful