Searched refs:pulled_thread (Results 1 – 2 of 2) sorted by relevance
| /xnu-11215/osfmk/kern/ |
| H A D | syscall_subr.c | 276 thread_t pulled_thread = thread_run_queue_remove_for_handoff(thread); in thread_switch() local 280 pulled_thread ? TRUE : FALSE, 0, 0); in thread_switch() 282 if (pulled_thread != THREAD_NULL) { in thread_switch() 293 thread_run(self, thread_switch_continue, (void *)(intptr_t)option, pulled_thread); in thread_switch() 360 thread_t pulled_thread = thread_prepare_for_handoff(thread, option); in thread_handoff_internal() local 364 pulled_thread ? TRUE : FALSE, 0, 0); in thread_handoff_internal() 372 if (pulled_thread != THREAD_NULL) { in thread_handoff_internal() 373 int result = thread_run(self, continuation, parameter, pulled_thread); in thread_handoff_internal()
|
| H A D | sched_prim.c | 6485 thread_t pulled_thread = THREAD_NULL; in thread_run_queue_remove_for_handoff() local 6508 pulled_thread = thread; in thread_run_queue_remove_for_handoff() 6514 return pulled_thread; in thread_run_queue_remove_for_handoff() 6535 thread_t pulled_thread = THREAD_NULL; in thread_prepare_for_handoff() local 6555 pulled_thread = thread; in thread_prepare_for_handoff() 6561 pulled_thread = thread_run_queue_remove_for_handoff(thread); in thread_prepare_for_handoff() 6564 return pulled_thread; in thread_prepare_for_handoff()
|