1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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  <adhemerval.zanella@linaro.org>
This commit is contained in:
Florian Weimer
2021-06-25 10:51:31 +02:00
parent 1a5a653be2
commit 2c16cb88a6
7 changed files with 64 additions and 50 deletions

View File

@ -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;
}