]> git.saurik.com Git - apple/libpthread.git/blobdiff - kern/kern_init.c
libpthread-301.20.1.tar.gz
[apple/libpthread.git] / kern / kern_init.c
index 1f7e547d6f23306e758fe86087c59467ceb9daf4..3de9b5d034ed71a41164c8f94de37d1534db8b10 100644 (file)
@@ -17,9 +17,8 @@ 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,
+       .fill_procworkqueue = (int(*)(proc_t, void*))_fill_procworkqueue,
+       .get_pwq_state_kdp = _get_pwq_state_kdp,
        .workqueue_exit = _workqueue_exit,
        .workqueue_mark_exiting = _workqueue_mark_exiting,
        .workqueue_thread_yielded = _workqueue_thread_yielded,
@@ -46,8 +45,15 @@ const struct pthread_functions_s pthread_internal_functions = {
        .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_reqthreads = _workq_reqthreads,
        .thread_qos_from_pthread_priority = _thread_qos_from_pthread_priority,
+       .pthread_priority_canonicalize2 = _pthread_priority_canonicalize,
+       .workq_thread_has_been_unbound = _workq_thread_has_been_unbound,
+       .workq_threadreq = workq_kern_threadreq,
+       .workq_threadreq_modify = workq_kern_threadreq_modify,
 };
 
 kern_return_t pthread_start(__unused kmod_info_t * ki, __unused void *d)