]> git.saurik.com Git - apple/libpthread.git/blobdiff - kern/kern_init.c
libpthread-301.1.6.tar.gz
[apple/libpthread.git] / kern / kern_init.c
index b45d277ae7ea600330afadca344c7002888bb984..3de9b5d034ed71a41164c8f94de37d1534db8b10 100644 (file)
@@ -17,7 +17,7 @@ pthread_callbacks_t pthread_kern;
 
 const struct pthread_functions_s pthread_internal_functions = {
        .pthread_init = _pthread_init,
-       .fill_procworkqueue = _fill_procworkqueue,
+       .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,
@@ -51,6 +51,9 @@ const struct pthread_functions_s pthread_internal_functions = {
        .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)