reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4203 new_thr = CCAST(kmp_info_t *, __kmp_thread_pool); 4204 __kmp_thread_pool = (volatile kmp_info_t *)new_thr->th.th_next_pool; 4205 if (new_thr == __kmp_thread_pool_insert_pt) { 4208 TCW_4(new_thr->th.th_in_pool, FALSE); 4209 __kmp_suspend_initialize_thread(new_thr); 4210 __kmp_lock_suspend_mx(new_thr); 4211 if (new_thr->th.th_active_in_pool == TRUE) { 4214 new_thr->th.th_active_in_pool = FALSE; 4216 __kmp_unlock_suspend_mx(new_thr); 4220 KMP_ASSERT(!new_thr->th.th_team); 4224 __kmp_initialize_info(new_thr, team, new_tid, 4225 new_thr->th.th_info.ds.ds_gtid); 4230 new_thr->th.th_task_state = 0; 4231 new_thr->th.th_task_state_top = 0; 4232 new_thr->th.th_task_state_stack_sz = 4; 4257 return new_thr; 4300 new_thr = (kmp_info_t *)__kmp_allocate(sizeof(kmp_info_t)); 4302 TCW_SYNC_PTR(__kmp_threads[new_gtid], new_thr); 4305 __kmp_print_thread_storage_map(new_thr, new_gtid); 4312 new_thr->th.th_serial_team = serial_team = 4323 serial_team->t.t_threads[0] = new_thr; 4329 __kmp_initialize_info(new_thr, team, new_tid, new_gtid); 4332 __kmp_initialize_fast_memory(new_thr); 4337 __kmp_initialize_bget(new_thr); 4340 __kmp_init_random(new_thr); // Initialize random number generator 4348 kmp_balign_t *balign = new_thr->th.th_bar; 4356 new_thr->th.th_spin_here = FALSE; 4357 new_thr->th.th_next_waiting = 0; 4359 new_thr->th.th_blocking = false; 4363 new_thr->th.th_current_place = KMP_PLACE_UNDEFINED; 4364 new_thr->th.th_new_place = KMP_PLACE_UNDEFINED; 4365 new_thr->th.th_first_place = KMP_PLACE_UNDEFINED; 4366 new_thr->th.th_last_place = KMP_PLACE_UNDEFINED; 4368 new_thr->th.th_def_allocator = __kmp_def_allocator; 4369 new_thr->th.th_prev_level = 0; 4370 new_thr->th.th_prev_num_threads = 1; 4372 TCW_4(new_thr->th.th_in_pool, FALSE); 4373 new_thr->th.th_active_in_pool = FALSE; 4374 TCW_4(new_thr->th.th_active, TRUE); 4407 __kmp_create_worker(new_gtid, new_thr, __kmp_stksize); 4414 return new_thr;