From 2c16cb88a6e5ace0fb7cedca86860ea7bde522a7 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 25 Jun 2021 10:51:31 +0200 Subject: Linux: Move timer helper routines from librt to libc This adds several temporary GLIBC_PRIVATE exports. The symbol names are changed so that they all start with __timer_. It is now possible to invoke the fork handler directly, so pthread_atfork is no longer necessary. The associated error cannot happen anymore, and cancellation handling can be removed from the helper thread routine. Reviewed-by: Adhemerval Zanella --- sysdeps/unix/sysv/linux/Versions | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdeps/unix/sysv/linux/Versions') diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions index 051ecf9..47d4357 100644 --- a/sysdeps/unix/sysv/linux/Versions +++ b/sysdeps/unix/sysv/linux/Versions @@ -282,6 +282,11 @@ libc { __pread64_nocancel; __close_nocancel; __sigtimedwait; + __timer_active_sigev_thread; + __timer_active_sigev_thread_lock; + __timer_helper_once; + __timer_helper_tid; + __timer_start_helper_thread; # functions used by nscd __netlink_assert_response; } -- cgit v1.1