mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 03:31:07 +00:00
nptl: Move pthread_setschedparam implementation into libc
This is part of the libpthread removal project: <https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
d5074b30fe
commit
f2323817dd
@ -58,6 +58,7 @@ routines = \
|
||||
pthread_equal \
|
||||
pthread_getschedparam \
|
||||
pthread_self \
|
||||
pthread_setschedparam \
|
||||
register-atfork \
|
||||
|
||||
shared-only-routines = forward
|
||||
@ -80,7 +81,6 @@ libpthread-routines = nptl-init nptlfreeres vars events version pt-interp \
|
||||
pthread_join pthread_tryjoin pthread_timedjoin \
|
||||
pthread_clockjoin pthread_join_common pthread_yield \
|
||||
pthread_getconcurrency pthread_setconcurrency \
|
||||
pthread_setschedparam \
|
||||
pthread_setschedprio \
|
||||
pthread_attr_getguardsize pthread_attr_setguardsize \
|
||||
pthread_attr_getstackaddr pthread_attr_setstackaddr \
|
||||
|
@ -49,8 +49,6 @@ libpthread {
|
||||
pthread_create; pthread_join;
|
||||
pthread_exit; pthread_detach;
|
||||
|
||||
pthread_setschedparam;
|
||||
|
||||
pthread_mutex_init; pthread_mutex_destroy;
|
||||
pthread_mutex_lock; pthread_mutex_trylock; pthread_mutex_unlock;
|
||||
|
||||
|
@ -108,11 +108,6 @@ FORWARD_NORETURN (__pthread_exit, void, (void *retval), (retval),
|
||||
strong_alias (__pthread_exit, pthread_exit);
|
||||
|
||||
|
||||
FORWARD (pthread_setschedparam,
|
||||
(pthread_t target_thread, int policy,
|
||||
const struct sched_param *param), (target_thread, policy, param), 0)
|
||||
|
||||
|
||||
FORWARD (pthread_mutex_destroy, (pthread_mutex_t *mutex), (mutex), 0)
|
||||
|
||||
FORWARD (pthread_mutex_init,
|
||||
|
@ -83,7 +83,6 @@ static const struct pthread_functions pthread_functions =
|
||||
.ptr___pthread_cond_timedwait_2_0 = __pthread_cond_timedwait_2_0,
|
||||
# endif
|
||||
.ptr___pthread_exit = __pthread_exit,
|
||||
.ptr_pthread_setschedparam = __pthread_setschedparam,
|
||||
.ptr_pthread_mutex_destroy = __pthread_mutex_destroy,
|
||||
.ptr_pthread_mutex_init = __pthread_mutex_init,
|
||||
.ptr_pthread_mutex_lock = __pthread_mutex_lock,
|
||||
|
@ -42,8 +42,6 @@ struct pthread_functions
|
||||
pthread_mutex_t *,
|
||||
const struct timespec *);
|
||||
void (*ptr___pthread_exit) (void *) __attribute__ ((__noreturn__));
|
||||
int (*ptr_pthread_setschedparam) (pthread_t, int,
|
||||
const struct sched_param *);
|
||||
int (*ptr_pthread_mutex_destroy) (pthread_mutex_t *);
|
||||
int (*ptr_pthread_mutex_init) (pthread_mutex_t *,
|
||||
const pthread_mutexattr_t *);
|
||||
|
@ -154,7 +154,6 @@ GLIBC_2.17 pthread_setcancelstate F
|
||||
GLIBC_2.17 pthread_setcanceltype F
|
||||
GLIBC_2.17 pthread_setconcurrency F
|
||||
GLIBC_2.17 pthread_setname_np F
|
||||
GLIBC_2.17 pthread_setschedparam F
|
||||
GLIBC_2.17 pthread_setschedprio F
|
||||
GLIBC_2.17 pthread_setspecific F
|
||||
GLIBC_2.17 pthread_sigmask F
|
||||
|
@ -70,7 +70,6 @@ GLIBC_2.0 pthread_mutexattr_setkind_np F
|
||||
GLIBC_2.0 pthread_once F
|
||||
GLIBC_2.0 pthread_setcancelstate F
|
||||
GLIBC_2.0 pthread_setcanceltype F
|
||||
GLIBC_2.0 pthread_setschedparam F
|
||||
GLIBC_2.0 pthread_setspecific F
|
||||
GLIBC_2.0 pthread_sigmask F
|
||||
GLIBC_2.0 pthread_testcancel F
|
||||
|
@ -184,7 +184,6 @@ GLIBC_2.4 pthread_setaffinity_np F
|
||||
GLIBC_2.4 pthread_setcancelstate F
|
||||
GLIBC_2.4 pthread_setcanceltype F
|
||||
GLIBC_2.4 pthread_setconcurrency F
|
||||
GLIBC_2.4 pthread_setschedparam F
|
||||
GLIBC_2.4 pthread_setschedprio F
|
||||
GLIBC_2.4 pthread_setspecific F
|
||||
GLIBC_2.4 pthread_sigmask F
|
||||
|
@ -184,7 +184,6 @@ GLIBC_2.4 pthread_setaffinity_np F
|
||||
GLIBC_2.4 pthread_setcancelstate F
|
||||
GLIBC_2.4 pthread_setcanceltype F
|
||||
GLIBC_2.4 pthread_setconcurrency F
|
||||
GLIBC_2.4 pthread_setschedparam F
|
||||
GLIBC_2.4 pthread_setschedprio F
|
||||
GLIBC_2.4 pthread_setspecific F
|
||||
GLIBC_2.4 pthread_sigmask F
|
||||
|
@ -164,7 +164,6 @@ GLIBC_2.29 pthread_setcancelstate F
|
||||
GLIBC_2.29 pthread_setcanceltype F
|
||||
GLIBC_2.29 pthread_setconcurrency F
|
||||
GLIBC_2.29 pthread_setname_np F
|
||||
GLIBC_2.29 pthread_setschedparam F
|
||||
GLIBC_2.29 pthread_setschedprio F
|
||||
GLIBC_2.29 pthread_setspecific F
|
||||
GLIBC_2.29 pthread_sigmask F
|
||||
|
@ -135,7 +135,6 @@ GLIBC_2.2 pthread_rwlockattr_setpshared F
|
||||
GLIBC_2.2 pthread_setcancelstate F
|
||||
GLIBC_2.2 pthread_setcanceltype F
|
||||
GLIBC_2.2 pthread_setconcurrency F
|
||||
GLIBC_2.2 pthread_setschedparam F
|
||||
GLIBC_2.2 pthread_setspecific F
|
||||
GLIBC_2.2 pthread_sigmask F
|
||||
GLIBC_2.2 pthread_spin_destroy F
|
||||
|
@ -70,7 +70,6 @@ GLIBC_2.0 pthread_mutexattr_setkind_np F
|
||||
GLIBC_2.0 pthread_once F
|
||||
GLIBC_2.0 pthread_setcancelstate F
|
||||
GLIBC_2.0 pthread_setcanceltype F
|
||||
GLIBC_2.0 pthread_setschedparam F
|
||||
GLIBC_2.0 pthread_setspecific F
|
||||
GLIBC_2.0 pthread_sigmask F
|
||||
GLIBC_2.0 pthread_testcancel F
|
||||
|
@ -135,7 +135,6 @@ GLIBC_2.2 pthread_rwlockattr_setpshared F
|
||||
GLIBC_2.2 pthread_setcancelstate F
|
||||
GLIBC_2.2 pthread_setcanceltype F
|
||||
GLIBC_2.2 pthread_setconcurrency F
|
||||
GLIBC_2.2 pthread_setschedparam F
|
||||
GLIBC_2.2 pthread_setspecific F
|
||||
GLIBC_2.2 pthread_sigmask F
|
||||
GLIBC_2.2 pthread_spin_destroy F
|
||||
|
@ -184,7 +184,6 @@ GLIBC_2.4 pthread_setaffinity_np F
|
||||
GLIBC_2.4 pthread_setcancelstate F
|
||||
GLIBC_2.4 pthread_setcanceltype F
|
||||
GLIBC_2.4 pthread_setconcurrency F
|
||||
GLIBC_2.4 pthread_setschedparam F
|
||||
GLIBC_2.4 pthread_setschedprio F
|
||||
GLIBC_2.4 pthread_setspecific F
|
||||
GLIBC_2.4 pthread_sigmask F
|
||||
|
@ -70,7 +70,6 @@ GLIBC_2.0 pthread_mutexattr_setkind_np F
|
||||
GLIBC_2.0 pthread_once F
|
||||
GLIBC_2.0 pthread_setcancelstate F
|
||||
GLIBC_2.0 pthread_setcanceltype F
|
||||
GLIBC_2.0 pthread_setschedparam F
|
||||
GLIBC_2.0 pthread_setspecific F
|
||||
GLIBC_2.0 pthread_sigmask F
|
||||
GLIBC_2.0 pthread_testcancel F
|
||||
|
@ -156,7 +156,6 @@ GLIBC_2.18 pthread_setcancelstate F
|
||||
GLIBC_2.18 pthread_setcanceltype F
|
||||
GLIBC_2.18 pthread_setconcurrency F
|
||||
GLIBC_2.18 pthread_setname_np F
|
||||
GLIBC_2.18 pthread_setschedparam F
|
||||
GLIBC_2.18 pthread_setschedprio F
|
||||
GLIBC_2.18 pthread_setspecific F
|
||||
GLIBC_2.18 pthread_sigmask F
|
||||
|
@ -156,7 +156,6 @@ GLIBC_2.18 pthread_setcancelstate F
|
||||
GLIBC_2.18 pthread_setcanceltype F
|
||||
GLIBC_2.18 pthread_setconcurrency F
|
||||
GLIBC_2.18 pthread_setname_np F
|
||||
GLIBC_2.18 pthread_setschedparam F
|
||||
GLIBC_2.18 pthread_setschedprio F
|
||||
GLIBC_2.18 pthread_setspecific F
|
||||
GLIBC_2.18 pthread_sigmask F
|
||||
|
@ -70,7 +70,6 @@ GLIBC_2.0 pthread_mutexattr_setkind_np F
|
||||
GLIBC_2.0 pthread_once F
|
||||
GLIBC_2.0 pthread_setcancelstate F
|
||||
GLIBC_2.0 pthread_setcanceltype F
|
||||
GLIBC_2.0 pthread_setschedparam F
|
||||
GLIBC_2.0 pthread_setspecific F
|
||||
GLIBC_2.0 pthread_sigmask F
|
||||
GLIBC_2.0 pthread_testcancel F
|
||||
|
@ -70,7 +70,6 @@ GLIBC_2.0 pthread_mutexattr_setkind_np F
|
||||
GLIBC_2.0 pthread_once F
|
||||
GLIBC_2.0 pthread_setcancelstate F
|
||||
GLIBC_2.0 pthread_setcanceltype F
|
||||
GLIBC_2.0 pthread_setschedparam F
|
||||
GLIBC_2.0 pthread_setspecific F
|
||||
GLIBC_2.0 pthread_sigmask F
|
||||
GLIBC_2.0 pthread_testcancel F
|
||||
|
@ -156,7 +156,6 @@ GLIBC_2.21 pthread_setcancelstate F
|
||||
GLIBC_2.21 pthread_setcanceltype F
|
||||
GLIBC_2.21 pthread_setconcurrency F
|
||||
GLIBC_2.21 pthread_setname_np F
|
||||
GLIBC_2.21 pthread_setschedparam F
|
||||
GLIBC_2.21 pthread_setschedprio F
|
||||
GLIBC_2.21 pthread_setspecific F
|
||||
GLIBC_2.21 pthread_sigmask F
|
||||
|
@ -70,7 +70,6 @@ GLIBC_2.0 pthread_mutexattr_setkind_np F
|
||||
GLIBC_2.0 pthread_once F
|
||||
GLIBC_2.0 pthread_setcancelstate F
|
||||
GLIBC_2.0 pthread_setcanceltype F
|
||||
GLIBC_2.0 pthread_setschedparam F
|
||||
GLIBC_2.0 pthread_setspecific F
|
||||
GLIBC_2.0 pthread_sigmask F
|
||||
GLIBC_2.0 pthread_testcancel F
|
||||
|
@ -156,7 +156,6 @@ GLIBC_2.3 pthread_rwlockattr_setpshared F
|
||||
GLIBC_2.3 pthread_setcancelstate F
|
||||
GLIBC_2.3 pthread_setcanceltype F
|
||||
GLIBC_2.3 pthread_setconcurrency F
|
||||
GLIBC_2.3 pthread_setschedparam F
|
||||
GLIBC_2.3 pthread_setspecific F
|
||||
GLIBC_2.3 pthread_sigmask F
|
||||
GLIBC_2.3 pthread_spin_destroy F
|
||||
|
@ -154,7 +154,6 @@ GLIBC_2.17 pthread_setcancelstate F
|
||||
GLIBC_2.17 pthread_setcanceltype F
|
||||
GLIBC_2.17 pthread_setconcurrency F
|
||||
GLIBC_2.17 pthread_setname_np F
|
||||
GLIBC_2.17 pthread_setschedparam F
|
||||
GLIBC_2.17 pthread_setschedprio F
|
||||
GLIBC_2.17 pthread_setspecific F
|
||||
GLIBC_2.17 pthread_sigmask F
|
||||
|
@ -153,7 +153,6 @@ GLIBC_2.27 pthread_setcancelstate F
|
||||
GLIBC_2.27 pthread_setcanceltype F
|
||||
GLIBC_2.27 pthread_setconcurrency F
|
||||
GLIBC_2.27 pthread_setname_np F
|
||||
GLIBC_2.27 pthread_setschedparam F
|
||||
GLIBC_2.27 pthread_setschedprio F
|
||||
GLIBC_2.27 pthread_setspecific F
|
||||
GLIBC_2.27 pthread_sigmask F
|
||||
|
@ -70,7 +70,6 @@ GLIBC_2.0 pthread_mutexattr_setkind_np F
|
||||
GLIBC_2.0 pthread_once F
|
||||
GLIBC_2.0 pthread_setcancelstate F
|
||||
GLIBC_2.0 pthread_setcanceltype F
|
||||
GLIBC_2.0 pthread_setschedparam F
|
||||
GLIBC_2.0 pthread_setspecific F
|
||||
GLIBC_2.0 pthread_sigmask F
|
||||
GLIBC_2.0 pthread_testcancel F
|
||||
|
@ -137,7 +137,6 @@ GLIBC_2.2 pthread_rwlockattr_setpshared F
|
||||
GLIBC_2.2 pthread_setcancelstate F
|
||||
GLIBC_2.2 pthread_setcanceltype F
|
||||
GLIBC_2.2 pthread_setconcurrency F
|
||||
GLIBC_2.2 pthread_setschedparam F
|
||||
GLIBC_2.2 pthread_setspecific F
|
||||
GLIBC_2.2 pthread_sigmask F
|
||||
GLIBC_2.2 pthread_spin_destroy F
|
||||
|
@ -135,7 +135,6 @@ GLIBC_2.2 pthread_rwlockattr_setpshared F
|
||||
GLIBC_2.2 pthread_setcancelstate F
|
||||
GLIBC_2.2 pthread_setcanceltype F
|
||||
GLIBC_2.2 pthread_setconcurrency F
|
||||
GLIBC_2.2 pthread_setschedparam F
|
||||
GLIBC_2.2 pthread_setspecific F
|
||||
GLIBC_2.2 pthread_sigmask F
|
||||
GLIBC_2.2 pthread_spin_destroy F
|
||||
|
@ -135,7 +135,6 @@ GLIBC_2.2 pthread_rwlockattr_setpshared F
|
||||
GLIBC_2.2 pthread_setcancelstate F
|
||||
GLIBC_2.2 pthread_setcanceltype F
|
||||
GLIBC_2.2 pthread_setconcurrency F
|
||||
GLIBC_2.2 pthread_setschedparam F
|
||||
GLIBC_2.2 pthread_setspecific F
|
||||
GLIBC_2.2 pthread_sigmask F
|
||||
GLIBC_2.2 pthread_spin_destroy F
|
||||
|
@ -70,7 +70,6 @@ GLIBC_2.0 pthread_mutexattr_setkind_np F
|
||||
GLIBC_2.0 pthread_once F
|
||||
GLIBC_2.0 pthread_setcancelstate F
|
||||
GLIBC_2.0 pthread_setcanceltype F
|
||||
GLIBC_2.0 pthread_setschedparam F
|
||||
GLIBC_2.0 pthread_setspecific F
|
||||
GLIBC_2.0 pthread_sigmask F
|
||||
GLIBC_2.0 pthread_testcancel F
|
||||
|
@ -135,7 +135,6 @@ GLIBC_2.2 pthread_rwlockattr_setpshared F
|
||||
GLIBC_2.2 pthread_setcancelstate F
|
||||
GLIBC_2.2 pthread_setcanceltype F
|
||||
GLIBC_2.2 pthread_setconcurrency F
|
||||
GLIBC_2.2 pthread_setschedparam F
|
||||
GLIBC_2.2 pthread_setspecific F
|
||||
GLIBC_2.2 pthread_sigmask F
|
||||
GLIBC_2.2 pthread_spin_destroy F
|
||||
|
@ -136,7 +136,6 @@ GLIBC_2.2.5 pthread_rwlockattr_setpshared F
|
||||
GLIBC_2.2.5 pthread_setcancelstate F
|
||||
GLIBC_2.2.5 pthread_setcanceltype F
|
||||
GLIBC_2.2.5 pthread_setconcurrency F
|
||||
GLIBC_2.2.5 pthread_setschedparam F
|
||||
GLIBC_2.2.5 pthread_setspecific F
|
||||
GLIBC_2.2.5 pthread_sigmask F
|
||||
GLIBC_2.2.5 pthread_spin_destroy F
|
||||
|
@ -154,7 +154,6 @@ GLIBC_2.16 pthread_setcancelstate F
|
||||
GLIBC_2.16 pthread_setcanceltype F
|
||||
GLIBC_2.16 pthread_setconcurrency F
|
||||
GLIBC_2.16 pthread_setname_np F
|
||||
GLIBC_2.16 pthread_setschedparam F
|
||||
GLIBC_2.16 pthread_setschedprio F
|
||||
GLIBC_2.16 pthread_setspecific F
|
||||
GLIBC_2.16 pthread_sigmask F
|
||||
|
Loading…
Reference in New Issue
Block a user