diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2019-07-12 21:45:36 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2019-07-12 21:45:36 +0000 |
commit | d4b114904a3bb0ee08a7833c52450b793d6c7781 (patch) | |
tree | 0caa40955997edd9c35d09db5a24defee3732836 /runtime/src/z_Windows_NT_util.cpp | |
parent | bb2634a97ed88cd542993339e10bbc98ffa37e41 (diff) |
[OpenMP] Remove OMP spec versioning
Remove all older OMP spec versioning from the runtime and build system.
Patch by Terry Wilmarth
Differential Revision: https://reviews.llvm.org/D64534
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@365963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/src/z_Windows_NT_util.cpp')
-rw-r--r-- | runtime/src/z_Windows_NT_util.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/src/z_Windows_NT_util.cpp b/runtime/src/z_Windows_NT_util.cpp index c503e9c..c149dda 100644 --- a/runtime/src/z_Windows_NT_util.cpp +++ b/runtime/src/z_Windows_NT_util.cpp @@ -372,14 +372,12 @@ static inline void __kmp_suspend_template(int th_gtid, C *flag) { /* TODO: shouldn't this use release semantics to ensure that __kmp_suspend_initialize_thread gets called first? */ old_spin = flag->set_sleeping(); -#if OMP_50_ENABLED if (__kmp_dflt_blocktime == KMP_MAX_BLOCKTIME && __kmp_pause_status != kmp_soft_paused) { flag->unset_sleeping(); __kmp_win32_mutex_unlock(&th->th.th_suspend_mx); return; } -#endif KF_TRACE(5, ("__kmp_suspend_template: T#%d set sleep bit for flag's" " loc(%p)==%d\n", |