X-Git-Url: https://git.saurik.com/apple/libpthread.git/blobdiff_plain/24d1ef94896ee9beed74527cef92faa6446d7bd3..a0619f9c1b0bf5530b0accb349cdfa98fa5b8c02:/kern/kern_init.c?ds=sidebyside diff --git a/kern/kern_init.c b/kern/kern_init.c index b45d277..3de9b5d 100644 --- a/kern/kern_init.c +++ b/kern/kern_init.c @@ -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)