Jim Cownie | 4cc4bb4 | 2014-10-07 16:25:50 +0000 | [diff] [blame] | 1 | /* |
| 2 | * kmp_wait_release.cpp -- Wait/Release implementation |
Jim Cownie | 4cc4bb4 | 2014-10-07 16:25:50 +0000 | [diff] [blame] | 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 | |
Jim Cownie | 4cc4bb4 | 2014-10-07 16:25:50 +0000 | [diff] [blame] | 17 | void __kmp_wait_64(kmp_info_t *this_thr, kmp_flag_64 *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 | |
Jim Cownie | 4cc4bb4 | 2014-10-07 16:25:50 +0000 | [diff] [blame] | 24 | void __kmp_release_64(kmp_flag_64 *flag) { |
| 25 | __kmp_release_template(flag); |
| 26 | } |