LLVM OpenMP* Runtime Library
kmp_wait_release.cpp
1 /*
2  * kmp_wait_release.cpp -- Wait/Release implementation
3  */
4 
5 
6 //===----------------------------------------------------------------------===//
7 //
8 // The LLVM Compiler Infrastructure
9 //
10 // This file is dual licensed under the MIT and the University of Illinois Open
11 // Source Licenses. See LICENSE.txt for details.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #include "kmp_wait_release.h"
16 
17 void __kmp_wait_32(kmp_info_t *this_thr, kmp_flag_32 *flag, int final_spin
18  USE_ITT_BUILD_ARG(void * itt_sync_obj) )
19 {
20  __kmp_wait_template(this_thr, flag, final_spin
21  USE_ITT_BUILD_ARG(itt_sync_obj) );
22 }
23 
24 void __kmp_wait_64(kmp_info_t *this_thr, kmp_flag_64 *flag, int final_spin
25  USE_ITT_BUILD_ARG(void * itt_sync_obj) )
26 {
27  __kmp_wait_template(this_thr, flag, final_spin
28  USE_ITT_BUILD_ARG(itt_sync_obj) );
29 }
30 
31 void __kmp_wait_oncore(kmp_info_t *this_thr, kmp_flag_oncore *flag, int final_spin
32  USE_ITT_BUILD_ARG(void * itt_sync_obj) )
33 {
34  __kmp_wait_template(this_thr, flag, final_spin
35  USE_ITT_BUILD_ARG(itt_sync_obj) );
36 }
37 
38 
39 
40 void __kmp_release_32(kmp_flag_32 *flag) {
41  __kmp_release_template(flag);
42 }
43 
44 void __kmp_release_64(kmp_flag_64 *flag) {
45  __kmp_release_template(flag);
46 }
47 
48 void __kmp_release_oncore(kmp_flag_oncore *flag) {
49  __kmp_release_template(flag);
50 }