mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-27 12:15:39 +03:00
htl: move sem_post into libc.
Message-ID: <20250817104023.91919-6-gfleury@disroot.org>
This commit is contained in:
@@ -34,7 +34,6 @@ libpthread-routines := \
|
|||||||
pt-spin \
|
pt-spin \
|
||||||
pt-getname-np \
|
pt-getname-np \
|
||||||
pt-setname-np \
|
pt-setname-np \
|
||||||
sem-post \
|
|
||||||
sem-timedwait \
|
sem-timedwait \
|
||||||
sem-trywait \
|
sem-trywait \
|
||||||
sem_unlink \
|
sem_unlink \
|
||||||
@@ -208,6 +207,7 @@ routines := \
|
|||||||
sem-destroy \
|
sem-destroy \
|
||||||
sem-getvalue \
|
sem-getvalue \
|
||||||
sem-init \
|
sem-init \
|
||||||
|
sem-post \
|
||||||
sem_close \
|
sem_close \
|
||||||
sem_open \
|
sem_open \
|
||||||
sem_routines \
|
sem_routines \
|
||||||
|
|||||||
@@ -106,6 +106,7 @@ libc {
|
|||||||
sem_getvalue;
|
sem_getvalue;
|
||||||
sem_init;
|
sem_init;
|
||||||
sem_open;
|
sem_open;
|
||||||
|
sem_post;
|
||||||
}
|
}
|
||||||
|
|
||||||
GLIBC_2.21 {
|
GLIBC_2.21 {
|
||||||
@@ -229,6 +230,7 @@ libc {
|
|||||||
sem_getvalue;
|
sem_getvalue;
|
||||||
sem_init;
|
sem_init;
|
||||||
sem_open;
|
sem_open;
|
||||||
|
sem_post;
|
||||||
}
|
}
|
||||||
|
|
||||||
GLIBC_PRIVATE {
|
GLIBC_PRIVATE {
|
||||||
@@ -321,7 +323,6 @@ libpthread {
|
|||||||
|
|
||||||
pthread_create;
|
pthread_create;
|
||||||
|
|
||||||
sem_post;
|
|
||||||
sem_timedwait; sem_trywait; sem_unlink; sem_wait;
|
sem_timedwait; sem_trywait; sem_unlink; sem_wait;
|
||||||
|
|
||||||
pthread_spin_destroy; pthread_spin_init; pthread_spin_lock;
|
pthread_spin_destroy; pthread_spin_init; pthread_spin_lock;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#ifndef _ISOMAC
|
#ifndef _ISOMAC
|
||||||
extern __typeof (sem_post) __sem_post;
|
extern __typeof (sem_post) __sem_post;
|
||||||
libpthread_hidden_proto (__sem_post)
|
libc_hidden_proto (__sem_post)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -23,6 +23,7 @@
|
|||||||
#include <hurd.h>
|
#include <hurd.h>
|
||||||
|
|
||||||
#include <pt-internal.h>
|
#include <pt-internal.h>
|
||||||
|
#include <shlib-compat.h>
|
||||||
|
|
||||||
int
|
int
|
||||||
__sem_post (sem_t *sem)
|
__sem_post (sem_t *sem)
|
||||||
@@ -61,5 +62,8 @@ __sem_post (sem_t *sem)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
libpthread_hidden_def (__sem_post)
|
libc_hidden_def (__sem_post)
|
||||||
strong_alias (__sem_post, sem_post);
|
versioned_symbol (libc, __sem_post, sem_post, GLIBC_2_43);
|
||||||
|
# if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_43)
|
||||||
|
compat_symbol (libpthread, __sem_post, sem_post, GLIBC_2_12);
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ GLIBC_2.12 sem_destroy F
|
|||||||
GLIBC_2.12 sem_getvalue F
|
GLIBC_2.12 sem_getvalue F
|
||||||
GLIBC_2.12 sem_init F
|
GLIBC_2.12 sem_init F
|
||||||
GLIBC_2.12 sem_open F
|
GLIBC_2.12 sem_open F
|
||||||
|
GLIBC_2.12 sem_post F
|
||||||
GLIBC_2.13 __fentry__ F
|
GLIBC_2.13 __fentry__ F
|
||||||
GLIBC_2.14 syncfs F
|
GLIBC_2.14 syncfs F
|
||||||
GLIBC_2.15 __fdelt_chk F
|
GLIBC_2.15 __fdelt_chk F
|
||||||
@@ -2676,6 +2677,7 @@ GLIBC_2.43 sem_destroy F
|
|||||||
GLIBC_2.43 sem_getvalue F
|
GLIBC_2.43 sem_getvalue F
|
||||||
GLIBC_2.43 sem_init F
|
GLIBC_2.43 sem_init F
|
||||||
GLIBC_2.43 sem_open F
|
GLIBC_2.43 sem_open F
|
||||||
|
GLIBC_2.43 sem_post F
|
||||||
GLIBC_2.5 __readlinkat_chk F
|
GLIBC_2.5 __readlinkat_chk F
|
||||||
GLIBC_2.5 inet6_opt_append F
|
GLIBC_2.5 inet6_opt_append F
|
||||||
GLIBC_2.5 inet6_opt_find F
|
GLIBC_2.5 inet6_opt_find F
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ GLIBC_2.12 pthread_spin_init F
|
|||||||
GLIBC_2.12 pthread_spin_lock F
|
GLIBC_2.12 pthread_spin_lock F
|
||||||
GLIBC_2.12 pthread_spin_trylock F
|
GLIBC_2.12 pthread_spin_trylock F
|
||||||
GLIBC_2.12 pthread_spin_unlock F
|
GLIBC_2.12 pthread_spin_unlock F
|
||||||
GLIBC_2.12 sem_post F
|
|
||||||
GLIBC_2.12 sem_timedwait F
|
GLIBC_2.12 sem_timedwait F
|
||||||
GLIBC_2.12 sem_trywait F
|
GLIBC_2.12 sem_trywait F
|
||||||
GLIBC_2.12 sem_unlink F
|
GLIBC_2.12 sem_unlink F
|
||||||
|
|||||||
@@ -1764,6 +1764,7 @@ GLIBC_2.38 sem_destroy F
|
|||||||
GLIBC_2.38 sem_getvalue F
|
GLIBC_2.38 sem_getvalue F
|
||||||
GLIBC_2.38 sem_init F
|
GLIBC_2.38 sem_init F
|
||||||
GLIBC_2.38 sem_open F
|
GLIBC_2.38 sem_open F
|
||||||
|
GLIBC_2.38 sem_post F
|
||||||
GLIBC_2.38 semctl F
|
GLIBC_2.38 semctl F
|
||||||
GLIBC_2.38 semget F
|
GLIBC_2.38 semget F
|
||||||
GLIBC_2.38 semop F
|
GLIBC_2.38 semop F
|
||||||
@@ -2357,6 +2358,7 @@ GLIBC_2.43 sem_destroy F
|
|||||||
GLIBC_2.43 sem_getvalue F
|
GLIBC_2.43 sem_getvalue F
|
||||||
GLIBC_2.43 sem_init F
|
GLIBC_2.43 sem_init F
|
||||||
GLIBC_2.43 sem_open F
|
GLIBC_2.43 sem_open F
|
||||||
|
GLIBC_2.43 sem_post F
|
||||||
HURD_CTHREADS_0.3 __cthread_getspecific F
|
HURD_CTHREADS_0.3 __cthread_getspecific F
|
||||||
HURD_CTHREADS_0.3 __cthread_keycreate F
|
HURD_CTHREADS_0.3 __cthread_keycreate F
|
||||||
HURD_CTHREADS_0.3 __cthread_setspecific F
|
HURD_CTHREADS_0.3 __cthread_setspecific F
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ GLIBC_2.38 pthread_spin_lock F
|
|||||||
GLIBC_2.38 pthread_spin_trylock F
|
GLIBC_2.38 pthread_spin_trylock F
|
||||||
GLIBC_2.38 pthread_spin_unlock F
|
GLIBC_2.38 pthread_spin_unlock F
|
||||||
GLIBC_2.38 sem_clockwait F
|
GLIBC_2.38 sem_clockwait F
|
||||||
GLIBC_2.38 sem_post F
|
|
||||||
GLIBC_2.38 sem_timedwait F
|
GLIBC_2.38 sem_timedwait F
|
||||||
GLIBC_2.38 sem_trywait F
|
GLIBC_2.38 sem_trywait F
|
||||||
GLIBC_2.38 sem_unlink F
|
GLIBC_2.38 sem_unlink F
|
||||||
|
|||||||
Reference in New Issue
Block a user