Searched refs:th_suspend_init_count (Results 1 – 3 of 3) sorted by relevance
1337 int old_value = KMP_ATOMIC_LD_RLX(&th->th.th_suspend_init_count); in __kmp_suspend_initialize_thread()1344 &th->th.th_suspend_init_count, old_value, -1)) { in __kmp_suspend_initialize_thread()1345 while (KMP_ATOMIC_LD_ACQ(&th->th.th_suspend_init_count) != new_value) { in __kmp_suspend_initialize_thread()1357 KMP_ATOMIC_ST_REL(&th->th.th_suspend_init_count, new_value); in __kmp_suspend_initialize_thread()1362 if (KMP_ATOMIC_LD_ACQ(&th->th.th_suspend_init_count) > __kmp_fork_count) { in __kmp_suspend_uninitialize_thread()1375 --th->th.th_suspend_init_count; in __kmp_suspend_uninitialize_thread()1376 KMP_DEBUG_ASSERT(KMP_ATOMIC_LD_RLX(&th->th.th_suspend_init_count) == in __kmp_suspend_uninitialize_thread()
2778 std::atomic<int> th_suspend_init_count; member
4486 &new_thr->th.th_suspend_init_count, in __kmp_allocate_thread()4487 sizeof(new_thr->th.th_suspend_init_count)); in __kmp_allocate_thread()