diff options
author | Guy-Fleury Iteriteka <gfleury@disroot.org> | 2023-07-16 10:44:07 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-24 01:57:08 +0200 |
commit | 3caa6362d087e68ec864a08fc065ab0e72d29d71 (patch) | |
tree | 8534b9aae97db6556a586402b370fdaeb1e42348 /htl | |
parent | a1a942fb5f786ebcc71631de020e05d6b6343985 (diff) | |
download | glibc-3caa6362d087e68ec864a08fc065ab0e72d29d71.tar.gz glibc-3caa6362d087e68ec864a08fc065ab0e72d29d71.tar.xz glibc-3caa6362d087e68ec864a08fc065ab0e72d29d71.zip |
htl: move pthread_setschedparam into libc
Signed-off-by: Guy-Fleury Iteriteka <gfleury@disroot.org> Message-Id: <20230716084414.107245-4-gfleury@disroot.org>
Diffstat (limited to 'htl')
-rw-r--r-- | htl/Makefile | 4 | ||||
-rw-r--r-- | htl/Versions | 2 | ||||
-rw-r--r-- | htl/forward.c | 5 | ||||
-rw-r--r-- | htl/pt-initialize.c | 1 |
4 files changed, 3 insertions, 9 deletions
diff --git a/htl/Makefile b/htl/Makefile index 9362a58393..228c689593 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -122,7 +122,7 @@ libpthread-routines := pt-attr pt-attr-destroy pt-attr-getdetachstate \ pt-kill \ pt-getcpuclockid \ \ - pt-setschedparam pt-setschedprio \ + pt-setschedprio \ pt-yield \ \ sem_close sem-destroy sem-getvalue sem-init sem_open \ @@ -165,7 +165,7 @@ headers := \ distribute := routines := forward libc_pthread_init alloca_cutoff htlfreeres pt-nthreads pt-pthread_self pt-self pt-equal \ - pt-getschedparam + pt-getschedparam pt-setschedparam shared-only-routines = forward extra-libs := libpthread diff --git a/htl/Versions b/htl/Versions index f376bf2f18..89d9d347a5 100644 --- a/htl/Versions +++ b/htl/Versions @@ -126,7 +126,7 @@ libpthread { pthread_rwlockattr_init; pthread_rwlockattr_setpshared; pthread_setcancelstate; pthread_setcanceltype; - pthread_setconcurrency; pthread_setschedparam; + pthread_setconcurrency; pthread_setschedprio; pthread_setspecific; pthread_sigmask; diff --git a/htl/forward.c b/htl/forward.c index df0d4ecc65..5a22c07d08 100644 --- a/htl/forward.c +++ b/htl/forward.c @@ -107,11 +107,6 @@ FORWARD_NORETURN (__pthread_exit, void, (void *retval), (retval), exit (EXIT_SUCCESS)) 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, diff --git a/htl/pt-initialize.c b/htl/pt-initialize.c index 7fc066041d..fae5de4a82 100644 --- a/htl/pt-initialize.c +++ b/htl/pt-initialize.c @@ -48,7 +48,6 @@ static const struct pthread_functions pthread_functions = { .ptr_pthread_cond_wait = __pthread_cond_wait, .ptr_pthread_cond_timedwait = __pthread_cond_timedwait, .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, |