From 1c91c7f1fc39a200cd2da55c8555477b915d9ff2 Mon Sep 17 00:00:00 2001 From: Apple Date: Wed, 7 Jun 2017 22:28:30 +0000 Subject: [PATCH] Libsystem-1238.60.2.tar.gz --- init.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/init.c b/init.c index bb49bc2..c3a3d3c 100644 --- a/init.c +++ b/init.c @@ -60,9 +60,9 @@ extern void __stack_logging_early_finished(void); // form libsystem_c.dylib extern void _pthread_clear_qos_tsd(mach_port_t) __attribute__((weak_import)); // system library atfork handlers -extern void _pthread_fork_prepare(void); -extern void _pthread_fork_parent(void); -extern void _pthread_fork_child(void); +extern void _pthread_atfork_prepare(void); +extern void _pthread_atfork_parent(void); +extern void _pthread_atfork_child(void); extern void _pthread_atfork_prepare_handlers(); extern void _pthread_atfork_parent_handlers(void); extern void _pthread_atfork_child_handlers(void); @@ -217,7 +217,7 @@ libSystem_atfork_prepare(void) xpc_atfork_prepare(); dispatch_atfork_prepare(); _malloc_fork_prepare(); - _pthread_fork_prepare(); + _pthread_atfork_prepare(); } void @@ -225,7 +225,7 @@ libSystem_atfork_parent(void) { // first call hardwired fork parent handlers for Libsystem components // in the order of library initalization above - _pthread_fork_parent(); + _pthread_atfork_parent(); _malloc_fork_parent(); dispatch_atfork_parent(); xpc_atfork_parent(); @@ -241,7 +241,7 @@ libSystem_atfork_child(void) // first call hardwired fork child handlers for Libsystem components // in the order of library initalization above _dyld_fork_child(); - _pthread_fork_child(); + _pthread_atfork_child(); _mach_fork_child(); _malloc_fork_child(); _libc_fork_child(); // _arc4_fork_child calls malloc -- 2.45.2