]> git.ipfire.org Git - thirdparty/glibc.git/commit
Linux: Move timer helper routines from librt to libc
authorFlorian Weimer <fweimer@redhat.com>
Fri, 25 Jun 2021 08:51:31 +0000 (10:51 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 25 Jun 2021 10:21:12 +0000 (12:21 +0200)
commit2c16cb88a6e5ace0fb7cedca86860ea7bde522a7
tree8e7aa16a33590ccd27050ef3d3b00607b7f15751
parent1a5a653be2f95d4d9485d08672dc5083c74c39d8
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>
sysdeps/nptl/Makefile
sysdeps/nptl/fork.h
sysdeps/unix/sysv/linux/Versions
sysdeps/unix/sysv/linux/kernel-posix-timers.h
sysdeps/unix/sysv/linux/timer_create.c
sysdeps/unix/sysv/linux/timer_delete.c
sysdeps/unix/sysv/linux/timer_routines.c