X-Git-Url: https://git.saurik.com/apple/libpthread.git/blobdiff_plain/964d3577b041867f776d8eb940bf4a1108ffb97c..c6e5f90c4dd303939f631da331df7b356da942e6:/kern/kern_init.c diff --git a/kern/kern_init.c b/kern/kern_init.c index 1f7e547..3321483 100644 --- a/kern/kern_init.c +++ b/kern/kern_init.c @@ -17,22 +17,12 @@ pthread_callbacks_t pthread_kern; const struct pthread_functions_s pthread_internal_functions = { .pthread_init = _pthread_init, - .fill_procworkqueue = _fill_procworkqueue, - .workqueue_init_lock = _workqueue_init_lock, - .workqueue_destroy_lock = _workqueue_destroy_lock, - .workqueue_exit = _workqueue_exit, - .workqueue_mark_exiting = _workqueue_mark_exiting, - .workqueue_thread_yielded = _workqueue_thread_yielded, - .workqueue_get_sched_callback = _workqueue_get_sched_callback, .pth_proc_hashinit = _pth_proc_hashinit, .pth_proc_hashdelete = _pth_proc_hashdelete, .bsdthread_create = _bsdthread_create, .bsdthread_register = _bsdthread_register, .bsdthread_terminate = _bsdthread_terminate, - .bsdthread_ctl = _bsdthread_ctl, .thread_selfid = _thread_selfid, - .workq_kernreturn = _workq_kernreturn, - .workq_open = _workq_open, .psynch_mutexwait = _psynch_mutexwait, .psynch_mutexdrop = _psynch_mutexdrop, @@ -46,8 +36,14 @@ const struct pthread_functions_s pthread_internal_functions = { .psynch_rw_wrlock = _psynch_rw_wrlock, .psynch_rw_yieldwrlock = _psynch_rw_yieldwrlock, - .workq_reqthreads = _workq_reqthreads, - .thread_qos_from_pthread_priority = _thread_qos_from_pthread_priority, + .pthread_find_owner = _pthread_find_owner, + .pthread_get_thread_kwq = _pthread_get_thread_kwq, + + .workq_create_threadstack = workq_create_threadstack, + .workq_destroy_threadstack = workq_destroy_threadstack, + .workq_setup_thread = workq_setup_thread, + .workq_handle_stack_events = workq_handle_stack_events, + .workq_markfree_threadstack = workq_markfree_threadstack, }; kern_return_t pthread_start(__unused kmod_info_t * ki, __unused void *d)