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