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,
.psynch_rw_unlock = _psynch_rw_unlock,
.psynch_rw_wrlock = _psynch_rw_wrlock,
.psynch_rw_yieldwrlock = _psynch_rw_yieldwrlock,
+
+ .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)