mirror of git://sourceware.org/git/glibc.git
htl: move pthread_kill into libc.
Message-ID: <20250815181500.107433-11-gfleury@disroot.org>
This commit is contained in:
parent
de8351f4de
commit
edcc9ca48c
|
|
@ -41,7 +41,6 @@ libpthread-routines := \
|
|||
pt-setup \
|
||||
pt-spin \
|
||||
pt-sigstate-init \
|
||||
pt-kill \
|
||||
pt-getname-np \
|
||||
pt-setname-np \
|
||||
sem_close \
|
||||
|
|
@ -153,6 +152,7 @@ routines := \
|
|||
pt-init-specific \
|
||||
pt-key-create \
|
||||
pt-key-delete \
|
||||
pt-kill \
|
||||
pt-machdep \
|
||||
pt-mutex-checklocked \
|
||||
pt-mutex-consistent \
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ libc {
|
|||
pthread_self;
|
||||
__pthread_get_cleanup_stack;
|
||||
__pthread_key_create;
|
||||
__pthread_kill;
|
||||
__pthread_self;
|
||||
pthread_attr_getdetachstate;
|
||||
pthread_attr_getinheritsched;
|
||||
|
|
@ -53,6 +54,7 @@ libc {
|
|||
pthread_getconcurrency;
|
||||
pthread_key_create;
|
||||
pthread_key_delete;
|
||||
pthread_kill;
|
||||
pthread_mutex_destroy;
|
||||
pthread_mutex_getprioceiling;
|
||||
pthread_mutex_init;
|
||||
|
|
@ -196,6 +198,7 @@ libc {
|
|||
pthread_cancel;
|
||||
pthread_getconcurrency;
|
||||
pthread_getcpuclockid;
|
||||
pthread_kill;
|
||||
pthread_setconcurrency;
|
||||
pthread_setschedprio;
|
||||
pthread_yield;
|
||||
|
|
@ -291,9 +294,6 @@ libpthread {
|
|||
|
||||
pthread_join;
|
||||
|
||||
pthread_kill;
|
||||
__pthread_kill;
|
||||
|
||||
pthread_mutex_transfer_np;
|
||||
|
||||
pthread_testcancel;
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@
|
|||
#include <hurd/signal.h>
|
||||
|
||||
#include <pt-internal.h>
|
||||
#include <shlib-compat.h>
|
||||
#include <ldsodefs.h>
|
||||
|
||||
int
|
||||
__pthread_kill (pthread_t thread, int sig)
|
||||
|
|
@ -52,4 +54,9 @@ __pthread_kill (pthread_t thread, int sig)
|
|||
__spin_lock (&ss->lock);
|
||||
return _hurd_raise_signal (ss, sig, &detail);
|
||||
}
|
||||
strong_alias (__pthread_kill, pthread_kill)
|
||||
|
||||
versioned_symbol (libc, __pthread_kill, pthread_kill, GLIBC_2_43);
|
||||
|
||||
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_43)
|
||||
compat_symbol (libpthread, __pthread_kill, pthread_kill, GLIBC_2_12);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ GLIBC_2.11 mkstemps F
|
|||
GLIBC_2.11 mkstemps64 F
|
||||
GLIBC_2.12 __pthread_get_cleanup_stack F
|
||||
GLIBC_2.12 __pthread_key_create F
|
||||
GLIBC_2.12 __pthread_kill F
|
||||
GLIBC_2.12 __pthread_self F
|
||||
GLIBC_2.12 pthread_attr_destroy F
|
||||
GLIBC_2.12 pthread_attr_getdetachstate F
|
||||
|
|
@ -78,6 +79,7 @@ GLIBC_2.12 pthread_getschedparam F
|
|||
GLIBC_2.12 pthread_getspecific F
|
||||
GLIBC_2.12 pthread_key_create F
|
||||
GLIBC_2.12 pthread_key_delete F
|
||||
GLIBC_2.12 pthread_kill F
|
||||
GLIBC_2.12 pthread_mutex_destroy F
|
||||
GLIBC_2.12 pthread_mutex_getprioceiling F
|
||||
GLIBC_2.12 pthread_mutex_init F
|
||||
|
|
@ -2642,6 +2644,7 @@ GLIBC_2.42 ullabs F
|
|||
GLIBC_2.43 pthread_cancel F
|
||||
GLIBC_2.43 pthread_getconcurrency F
|
||||
GLIBC_2.43 pthread_getcpuclockid F
|
||||
GLIBC_2.43 pthread_kill F
|
||||
GLIBC_2.43 pthread_setconcurrency F
|
||||
GLIBC_2.43 pthread_setschedprio F
|
||||
GLIBC_2.43 pthread_yield F
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
GLIBC_2.12 __mutex_lock_solid F
|
||||
GLIBC_2.12 __mutex_unlock_solid F
|
||||
GLIBC_2.12 __pthread_kill F
|
||||
GLIBC_2.12 __pthread_mutex_transfer_np F
|
||||
GLIBC_2.12 __pthread_spin_destroy F
|
||||
GLIBC_2.12 __pthread_spin_init F
|
||||
|
|
@ -25,7 +24,6 @@ GLIBC_2.12 pthread_detach F
|
|||
GLIBC_2.12 pthread_exit F
|
||||
GLIBC_2.12 pthread_getattr_np F
|
||||
GLIBC_2.12 pthread_join F
|
||||
GLIBC_2.12 pthread_kill F
|
||||
GLIBC_2.12 pthread_mutex_transfer_np F
|
||||
GLIBC_2.12 pthread_spin_destroy F
|
||||
GLIBC_2.12 pthread_spin_init F
|
||||
|
|
|
|||
|
|
@ -393,6 +393,7 @@ GLIBC_2.38 __progname D 0x8
|
|||
GLIBC_2.38 __progname_full D 0x8
|
||||
GLIBC_2.38 __pthread_get_cleanup_stack F
|
||||
GLIBC_2.38 __pthread_key_create F
|
||||
GLIBC_2.38 __pthread_kill F
|
||||
GLIBC_2.38 __pthread_self F
|
||||
GLIBC_2.38 __ptsname_r_chk F
|
||||
GLIBC_2.38 __pwrite64 F
|
||||
|
|
@ -1561,6 +1562,7 @@ GLIBC_2.38 pthread_getschedparam F
|
|||
GLIBC_2.38 pthread_getspecific F
|
||||
GLIBC_2.38 pthread_key_create F
|
||||
GLIBC_2.38 pthread_key_delete F
|
||||
GLIBC_2.38 pthread_kill F
|
||||
GLIBC_2.38 pthread_mutex_clocklock F
|
||||
GLIBC_2.38 pthread_mutex_consistent F
|
||||
GLIBC_2.38 pthread_mutex_consistent_np F
|
||||
|
|
@ -2324,6 +2326,7 @@ GLIBC_2.42 ullabs F
|
|||
GLIBC_2.43 pthread_cancel F
|
||||
GLIBC_2.43 pthread_getconcurrency F
|
||||
GLIBC_2.43 pthread_getcpuclockid F
|
||||
GLIBC_2.43 pthread_kill F
|
||||
GLIBC_2.43 pthread_setconcurrency F
|
||||
GLIBC_2.43 pthread_setschedprio F
|
||||
GLIBC_2.43 pthread_yield F
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ GLIBC_2.38 __errno_location F
|
|||
GLIBC_2.38 __h_errno_location F
|
||||
GLIBC_2.38 __mutex_lock_solid F
|
||||
GLIBC_2.38 __mutex_unlock_solid F
|
||||
GLIBC_2.38 __pthread_kill F
|
||||
GLIBC_2.38 __pthread_mutex_transfer_np F
|
||||
GLIBC_2.38 __pthread_spin_destroy F
|
||||
GLIBC_2.38 __pthread_spin_init F
|
||||
|
|
@ -45,7 +44,6 @@ GLIBC_2.38 pthread_getattr_np F
|
|||
GLIBC_2.38 pthread_hurd_cond_timedwait_np F
|
||||
GLIBC_2.38 pthread_hurd_cond_wait_np F
|
||||
GLIBC_2.38 pthread_join F
|
||||
GLIBC_2.38 pthread_kill F
|
||||
GLIBC_2.38 pthread_mutex_transfer_np F
|
||||
GLIBC_2.38 pthread_spin_destroy F
|
||||
GLIBC_2.38 pthread_spin_init F
|
||||
|
|
|
|||
Loading…
Reference in New Issue