Lines Matching refs:cg_nthreads
872 int cg_nthreads = this_thr->th.th_cg_roots->cg_nthreads;
874 if (cg_nthreads + new_nthreads -
877 int tl_nthreads = max_cg_threads - cg_nthreads +
3759 tmp->cg_nthreads = 1;
3761 " cg_nthreads init to 1\n",
3889 i = root->r.r_uber_thread->th.th_cg_roots->cg_nthreads--;
3890 KA_TRACE(100, ("__kmp_reset_root: Thread %p decrement cg_nthreads on node %p"
3893 root->r.r_uber_thread->th.th_cg_roots->cg_nthreads));
4078 int i = tmp->cg_nthreads--;
4079 KA_TRACE(100, ("__kmp_initialize_info: Thread %p decrement cg_nthreads"
4081 this_thr, tmp, tmp->cg_root, tmp->cg_nthreads));
4088 this_thr->th.th_cg_roots->cg_nthreads++;
4089 KA_TRACE(100, ("__kmp_initialize_info: Thread %p increment cg_nthreads on"
4093 this_thr->th.th_cg_roots->cg_nthreads));
5450 " up to node %p. cg_nthreads was %d\n",
5451 thr, tmp, thr->th.th_cg_roots, tmp->cg_nthreads));
5452 int i = tmp->cg_nthreads--;
5542 this_th->th.th_cg_roots->cg_nthreads--;
5543 KA_TRACE(100, ("__kmp_free_thread: Thread %p decrement cg_nthreads on node"
5547 this_th->th.th_cg_roots->cg_nthreads));
5550 KMP_DEBUG_ASSERT(tmp->cg_nthreads == 0);
5556 if (tmp->cg_nthreads == 0) { // last thread leaves contention group
7066 tmp->cg_nthreads = 1; // Init counter to one active thread, this one
7068 " cg_nthreads to 1\n",