]> git.saurik.com Git - apple/libpthread.git/blobdiff - kern/kern_init.c
libpthread-218.20.1.tar.gz
[apple/libpthread.git] / kern / kern_init.c
index 8b4b60a549aad33963d0b74e74089bfcbe5ee08d..ca10fd0808fbe7a8c678767ac392bb5d6b29848a 100644 (file)
@@ -18,8 +18,7 @@ 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,
+       .get_pwq_state_kdp = _get_pwq_state_kdp,
        .workqueue_exit = _workqueue_exit,
        .workqueue_mark_exiting = _workqueue_mark_exiting,
        .workqueue_thread_yielded = _workqueue_thread_yielded,
@@ -45,6 +44,10 @@ 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,
+
+       .workq_reqthreads = _workq_reqthreads,
+       .thread_qos_from_pthread_priority = _thread_qos_from_pthread_priority,
+       .pthread_priority_canonicalize2 = _pthread_priority_canonicalize,
 };
 
 kern_return_t pthread_start(__unused kmod_info_t * ki, __unused void *d)