aboutsummaryrefslogtreecommitdiff
path: root/htl
diff options
context:
space:
mode:
authorGuy-Fleury Iteriteka <gfleury@disroot.org>2023-07-16 10:44:08 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-24 01:57:10 +0200
commit79de1a0ca28af8f000688dbd51addad78bd804b1 (patch)
tree2b3e635a2da3a96c49c5daf25ff3c9aed16afec3 /htl
parent3caa6362d087e68ec864a08fc065ab0e72d29d71 (diff)
downloadglibc-79de1a0ca28af8f000688dbd51addad78bd804b1.zip
glibc-79de1a0ca28af8f000688dbd51addad78bd804b1.tar.gz
glibc-79de1a0ca28af8f000688dbd51addad78bd804b1.tar.bz2
htl: move pthread_attr_getschedparam into libc
Signed-off-by: Guy-Fleury Iteriteka <gfleury@disroot.org> Message-Id: <20230716084414.107245-5-gfleury@disroot.org>
Diffstat (limited to 'htl')
-rw-r--r--htl/Makefile4
-rw-r--r--htl/Versions2
-rw-r--r--htl/forward.c3
-rw-r--r--htl/pt-initialize.c1
4 files changed, 3 insertions, 7 deletions
diff --git a/htl/Makefile b/htl/Makefile
index 228c689..9e43e57 100644
--- a/htl/Makefile
+++ b/htl/Makefile
@@ -26,7 +26,7 @@ LCLHDRS :=
libpthread-routines := pt-attr pt-attr-destroy pt-attr-getdetachstate \
pt-attr-getguardsize pt-attr-getinheritsched \
- pt-attr-getschedparam pt-attr-getschedpolicy pt-attr-getscope \
+ pt-attr-getschedpolicy pt-attr-getscope \
pt-attr-getstack pt-attr-getstackaddr pt-attr-getstacksize \
pt-attr-init pt-attr-setdetachstate pt-attr-setguardsize \
pt-attr-setinheritsched pt-attr-setschedparam \
@@ -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-setschedparam
+ pt-getschedparam pt-setschedparam pt-attr-getschedparam
shared-only-routines = forward
extra-libs := libpthread
diff --git a/htl/Versions b/htl/Versions
index 89d9d34..b61fc3f 100644
--- a/htl/Versions
+++ b/htl/Versions
@@ -68,7 +68,7 @@ libpthread {
pthread_attr_destroy; pthread_attr_getdetachstate;
pthread_attr_getguardsize; pthread_attr_getinheritsched;
- pthread_attr_getschedparam; pthread_attr_getschedpolicy;
+ pthread_attr_getschedpolicy;
pthread_attr_getscope; pthread_attr_getstack; pthread_attr_getstackaddr;
pthread_attr_getstacksize; pthread_attr_init; pthread_attr_setdetachstate;
pthread_attr_setguardsize; pthread_attr_setinheritsched;
diff --git a/htl/forward.c b/htl/forward.c
index 5a22c07..63b5f52 100644
--- a/htl/forward.c
+++ b/htl/forward.c
@@ -68,9 +68,6 @@ FORWARD (pthread_attr_getinheritsched,
FORWARD (pthread_attr_setinheritsched, (pthread_attr_t *attr, int inherit),
(attr, inherit), 0)
-FORWARD (pthread_attr_getschedparam,
- (const pthread_attr_t *attr, struct sched_param *param),
- (attr, param), 0)
FORWARD (pthread_attr_setschedparam,
(pthread_attr_t *attr, const struct sched_param *param),
(attr, param), 0)
diff --git a/htl/pt-initialize.c b/htl/pt-initialize.c
index fae5de4..427b312 100644
--- a/htl/pt-initialize.c
+++ b/htl/pt-initialize.c
@@ -33,7 +33,6 @@ static const struct pthread_functions pthread_functions = {
.ptr_pthread_attr_setdetachstate = __pthread_attr_setdetachstate,
.ptr_pthread_attr_getinheritsched = __pthread_attr_getinheritsched,
.ptr_pthread_attr_setinheritsched = __pthread_attr_setinheritsched,
- .ptr_pthread_attr_getschedparam = __pthread_attr_getschedparam,
.ptr_pthread_attr_setschedparam = __pthread_attr_setschedparam,
.ptr_pthread_attr_getschedpolicy = __pthread_attr_getschedpolicy,
.ptr_pthread_attr_setschedpolicy = __pthread_attr_setschedpolicy,