Lines Matching refs:thread
49 * Machine specific support for thread initialization
57 * Set up the initial state of a MACH thread
60 _pthread_setup(pthread_t thread,
83 (void)thread_get_state(_pthread_kernel_thread(thread),
98 *--sp = (uintptr_t)thread; // argument to function
110 state.__rdi = (uintptr_t)thread; // argument to function
123 state.__r[0] = (uintptr_t)thread;
129 (void)thread_set_state(_pthread_kernel_thread(thread), flavor, (thread_state_t)&state, count);
131 (void)thread_resume(_pthread_kernel_thread(thread));
136 _pthread_set_kernel_thread(thread, kernel_thread);