]> git.saurik.com Git - apple/libpthread.git/blobdiff - kern/kern_init.c
libpthread-416.40.3.tar.gz
[apple/libpthread.git] / kern / kern_init.c
index 8b4b60a549aad33963d0b74e74089bfcbe5ee08d..3321483ffafae2a6e7bf650006bee3242a3358cc 100644 (file)
@@ -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,
@@ -45,6 +35,15 @@ const struct pthread_functions_s pthread_internal_functions = {
        .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)