Searched refs:th_suspend_init (Results 1 – 3 of 3) sorted by relevance
313 int old_value = KMP_ATOMIC_LD_RLX(&th->th.th_suspend_init); in __kmp_suspend_initialize_thread()320 !__kmp_atomic_compare_store(&th->th.th_suspend_init, old_value, -1)) { in __kmp_suspend_initialize_thread()321 while (KMP_ATOMIC_LD_ACQ(&th->th.th_suspend_init) != new_value) { in __kmp_suspend_initialize_thread()328 KMP_ATOMIC_ST_REL(&th->th.th_suspend_init, new_value); in __kmp_suspend_initialize_thread()333 if (KMP_ATOMIC_LD_ACQ(&th->th.th_suspend_init)) { in __kmp_suspend_uninitialize_thread()338 KMP_ATOMIC_ST_REL(&th->th.th_suspend_init, FALSE); in __kmp_suspend_uninitialize_thread()
2626 std::atomic<int> th_suspend_init; member
4322 &new_thr->th.th_suspend_init, sizeof(new_thr->th.th_suspend_init)); in __kmp_allocate_thread()