]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/pthread/pthread_shims.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / pthread / pthread_shims.c
index 86e618e7dbc75b085ffd882ba535e4b657e67961..5cddcd16671ecdad8424cc75e2d7b6267b9d0e4a 100644 (file)
@@ -512,6 +512,7 @@ static const struct pthread_callbacks_s pthread_callbacks = {
        .ipc_port_copyout_send = ipc_port_copyout_send,
        .task_get_ipcspace = get_task_ipcspace,
        .vm_map_page_info = vm_map_page_info,
+       .ipc_port_copyout_send_pinned = ipc_port_copyout_send_pinned,
        .thread_set_wq_state32 = thread_set_wq_state32,
 #if !defined(__arm__)
        .thread_set_wq_state64 = thread_set_wq_state64,
@@ -535,11 +536,16 @@ static const struct pthread_callbacks_s pthread_callbacks = {
        .semaphore_signal_internal_trap = semaphore_signal_internal_trap,
        .current_map = _current_map,
        .thread_create = thread_create,
+       /* should be removed once rdar://70892168 lands */
+       .thread_create_pinned = thread_create_pinned,
+       .thread_create_immovable = thread_create_immovable,
+       .thread_terminate_pinned = thread_terminate_pinned,
        .thread_resume = thread_resume,
 
        .kevent_workq_internal = kevent_workq_internal,
 
        .convert_thread_to_port = convert_thread_to_port,
+       .convert_thread_to_port_pinned = convert_thread_to_port_pinned,
 
        .proc_get_stack_addr_hint = proc_get_stack_addr_hint,
        .proc_set_stack_addr_hint = proc_set_stack_addr_hint,