Searched refs:th_suspend_init_count (Results 1 – 3 of 3) sorted by relevance
1329 int old_value = KMP_ATOMIC_LD_RLX(&th->th.th_suspend_init_count); in __kmp_suspend_initialize_thread()1336 &th->th.th_suspend_init_count, old_value, -1)) { in __kmp_suspend_initialize_thread()1337 while (KMP_ATOMIC_LD_ACQ(&th->th.th_suspend_init_count) != new_value) { in __kmp_suspend_initialize_thread()1349 KMP_ATOMIC_ST_REL(&th->th.th_suspend_init_count, new_value); in __kmp_suspend_initialize_thread()1354 if (KMP_ATOMIC_LD_ACQ(&th->th.th_suspend_init_count) > __kmp_fork_count) { in __kmp_suspend_uninitialize_thread()1367 --th->th.th_suspend_init_count; in __kmp_suspend_uninitialize_thread()1368 KMP_DEBUG_ASSERT(KMP_ATOMIC_LD_RLX(&th->th.th_suspend_init_count) == in __kmp_suspend_uninitialize_thread()
2675 std::atomic<int> th_suspend_init_count; member
4382 &new_thr->th.th_suspend_init_count, in __kmp_allocate_thread()4383 sizeof(new_thr->th.th_suspend_init_count)); in __kmp_allocate_thread()