From 1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 2 Feb 2019 15:17:02 +0100 Subject: Linux: Add gettid system call wrapper [BZ #6399] This commit adds gettid to on Linux, and not to the kernel-independent GNU API. gettid is now supportable on Linux because too many things assume a 1:1 mapping between libpthread threads and kernel threads. Reviewed-by: Carlos O'Donell --- sysdeps/unix/sysv/linux/Versions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdeps/unix/sysv/linux/Versions') diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions index f1e12d9c69..5166ccff25 100644 --- a/sysdeps/unix/sysv/linux/Versions +++ b/sysdeps/unix/sysv/linux/Versions @@ -174,6 +174,9 @@ libc { GLIBC_2.29 { getcpu; } + GLIBC_2.30 { + gettid; + } GLIBC_PRIVATE { # functions used in other libraries __syscall_rt_sigqueueinfo; -- cgit 1.4.1