mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
nptl: Move pthread_kill to libc
A new 2.34 version is also provided. Checked on x86_64-linux-gnu.
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
#include <pthreadP.h>
|
||||
#include <shlib-compat.h>
|
||||
|
||||
int
|
||||
__pthread_kill (pthread_t threadid, int signo)
|
||||
@ -43,4 +44,8 @@ __pthread_kill (pthread_t threadid, int signo)
|
||||
return (INTERNAL_SYSCALL_ERROR_P (val)
|
||||
? INTERNAL_SYSCALL_ERRNO (val) : 0);
|
||||
}
|
||||
strong_alias (__pthread_kill, pthread_kill)
|
||||
versioned_symbol (libc, __pthread_kill, pthread_kill, GLIBC_2_34);
|
||||
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_34)
|
||||
compat_symbol (libc, __pthread_kill, pthread_kill, GLIBC_2_0);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user