diff options
| author | gfleury <gfleury@disroot.org> | 2024-11-18 13:21:42 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-11-19 01:37:35 +0100 |
| commit | 32aa498cebb8f34ee4d9f71fbaac2ffd92c19278 (patch) | |
| tree | 9d15ba1822a4864f1bfcd9cf77b99335cbaa6688 /htl | |
| parent | 4a8b7d7e62c6a45cfad01a8d5c8b9bb2e4ca2b30 (diff) | |
| download | glibc-32aa498cebb8f34ee4d9f71fbaac2ffd92c19278.tar.xz glibc-32aa498cebb8f34ee4d9f71fbaac2ffd92c19278.zip | |
htl: move pthread_attr_setscope into libc.
Signed-off-by: gfleury <gfleury@disroot.org>
Diffstat (limited to 'htl')
| -rw-r--r-- | htl/Makefile | 2 | ||||
| -rw-r--r-- | htl/Versions | 2 | ||||
| -rw-r--r-- | htl/forward.c | 4 | ||||
| -rw-r--r-- | htl/pt-initialize.c | 1 |
4 files changed, 2 insertions, 7 deletions
diff --git a/htl/Makefile b/htl/Makefile index d76cba8830..eae1c70958 100644 --- a/htl/Makefile +++ b/htl/Makefile @@ -28,7 +28,6 @@ libpthread-routines := \ pt-attr-init \ pt-attr-setguardsize \ pt-attr-setschedparam \ - pt-attr-setscope \ pt-barrier-destroy \ pt-barrier-init \ pt-barrier-wait \ @@ -203,6 +202,7 @@ routines := \ pt-attr-setdetachstate \ pt-attr-setinheritsched \ pt-attr-setschedpolicy \ + pt-attr-setscope \ pt-attr-setstack \ pt-attr-setstackaddr \ pt-attr-setstacksize \ diff --git a/htl/Versions b/htl/Versions index db8a2de27c..01f9f27a37 100644 --- a/htl/Versions +++ b/htl/Versions @@ -22,6 +22,7 @@ libc { pthread_attr_setstacksize; pthread_attr_setstackaddr; pthread_attr_setstack; + pthread_attr_setscope; } GLIBC_2.21 { @@ -107,7 +108,6 @@ libpthread { pthread_attr_init; pthread_attr_setguardsize; pthread_attr_setschedparam; - pthread_attr_setscope; pthread_barrier_destroy; pthread_barrier_init; pthread_barrier_wait; pthread_barrierattr_destroy; pthread_barrierattr_getpshared; diff --git a/htl/forward.c b/htl/forward.c index 6644d67da6..105b46cfea 100644 --- a/htl/forward.c +++ b/htl/forward.c @@ -59,10 +59,6 @@ FORWARD (pthread_attr_setschedparam, (pthread_attr_t *attr, const struct sched_param *param), (attr, param), 0) -FORWARD (pthread_attr_setscope, (pthread_attr_t *attr, int scope), - (attr, scope), 0) - - FORWARD (pthread_condattr_destroy, (pthread_condattr_t *attr), (attr), 0) FORWARD (pthread_condattr_init, (pthread_condattr_t *attr), (attr), 0) diff --git a/htl/pt-initialize.c b/htl/pt-initialize.c index 0d20f39e51..80afc5e86a 100644 --- a/htl/pt-initialize.c +++ b/htl/pt-initialize.c @@ -29,7 +29,6 @@ static const struct pthread_functions pthread_functions = { .ptr_pthread_attr_init = __pthread_attr_init, .ptr_pthread_attr_setschedparam = __pthread_attr_setschedparam, - .ptr_pthread_attr_setscope = __pthread_attr_setscope, .ptr_pthread_condattr_destroy = __pthread_condattr_destroy, .ptr_pthread_condattr_init = __pthread_condattr_init, .ptr_pthread_cond_broadcast = __pthread_cond_broadcast, |
