Searched refs:new_thread (Results 1 - 8 of 8) sorted by relevance
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | thread.c | 650 thread_t new_thread; local 657 new_thread = first_thread = current_thread(); 658 new_thread = (thread_t)zalloc(thread_zone); 659 if (new_thread == THREAD_NULL) 662 if (new_thread != first_thread) 663 *new_thread = thread_template; 666 new_thread->uthread = uthread_alloc(parent_task, new_thread, (options & TH_OPTION_NOCRED) != 0); 667 if (new_thread->uthread == NULL) { 668 zfree(thread_zone, new_thread); 838 thread_create_internal2( task_t task, thread_t *new_thread, boolean_t from_user) argument 876 thread_create( task_t task, thread_t *new_thread) argument 884 thread_create_from_user( task_t task, thread_t *new_thread) argument 892 thread_create_running_internal2( register task_t task, int flavor, thread_state_t new_state, mach_msg_type_number_t new_state_count, thread_t *new_thread, boolean_t from_user) argument 946 thread_create_running( register task_t task, int flavor, thread_state_t new_state, mach_msg_type_number_t new_state_count, thread_t *new_thread) argument 959 thread_create_running_from_user( register task_t task, int flavor, thread_state_t new_state, mach_msg_type_number_t new_state_count, thread_t *new_thread) argument 972 thread_create_workq( task_t task, thread_continue_t thread_return, thread_t *new_thread) argument 1007 kernel_thread_create( thread_continue_t continuation, void *parameter, integer_t priority, thread_t *new_thread) argument 1041 kernel_thread_start_priority( thread_continue_t continuation, void *parameter, integer_t priority, thread_t *new_thread) argument 1064 kernel_thread_start( thread_continue_t continuation, void *parameter, thread_t *new_thread) argument [all...] |
H A D | machine.c | 297 thread_t new_thread, old_thread = processor->active_thread; local 299 new_thread = processor->idle_thread; 300 processor->active_thread = new_thread; 304 new_thread->last_processor = processor; 309 machine_set_current_thread(new_thread); 311 thread_dispatch(old_thread, new_thread);
|
H A D | sched_prim.c | 1633 thread_t new_thread = THREAD_NULL; local 1696 (new_thread = SCHED(choose_thread)(processor, thread->sched_mode == TH_MODE_FAIRSHARE ? MINPRI : thread->sched_pri)) == THREAD_NULL) { 1714 if (new_thread != THREAD_NULL || 1716 (new_thread = SCHED(choose_thread)(processor, MINPRI)) != THREAD_NULL)) { 1720 pset_pri_hint(pset, processor, new_thread->sched_pri); 1728 return (new_thread); 1751 if ((new_thread = SCHED(fairshare_dequeue)()) != THREAD_NULL) { 1756 return (new_thread); 1783 new_thread = SCHED(steal_thread)(pset); 1784 if (new_thread ! 1862 thread_t new_thread; local 2526 register thread_t new_thread; local 2597 thread_run( thread_t self, thread_continue_t continuation, void *parameter, thread_t new_thread) argument 4075 thread_t new_thread; local 4204 thread_t new_thread; local [all...] |
H A D | thread.h | 550 thread_t *new_thread); 556 thread_t *new_thread); 572 thread_t new_thread); 735 thread_t *new_thread); 897 @discussion This function takes three input parameters, namely reference to the function that the thread should execute, caller specified data and a reference which is used to return the newly created kernel thread. The function returns KERN_SUCCESS on success or an appropriate kernel code type indicating the error. It may be noted that the caller is responsible for explicitly releasing the reference to the created thread when no longer needed. This should be done by calling thread_deallocate(new_thread). 900 @param new_thread Reference to the new thread is returned in this parameter. 907 thread_t *new_thread);
|
H A D | sched_prim.h | 112 thread_t new_thread); 119 thread_t new_thread);
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | cpu_data.h | 112 thread_t new_thread; member in struct:cpu_data
|
H A D | pcb.c | 69 thread_t new_thread);
|
/darwin-on-arm/xnu/osfmk/arm64/ |
H A D | thread_initialize.c | 55 thread_t Switch_context(thread_t old_thread, thread_continue_t continuation, thread_t new_thread);
|
Completed in 32 milliseconds