diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-03 13:50:21 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-08 14:10:42 -0300 |
commit | da4aea0b5e60ec2351367b0facee24e6035a7129 (patch) | |
tree | 7892242d802abdadf07a9e27c7af8292940630a3 /nptl/Makefile | |
parent | e9fed2438a1ff475821864f906286dc58907f06b (diff) | |
download | glibc-da4aea0b5e60ec2351367b0facee24e6035a7129.tar.gz glibc-da4aea0b5e60ec2351367b0facee24e6035a7129.tar.xz glibc-da4aea0b5e60ec2351367b0facee24e6035a7129.zip |
pthread: Refactor semaphore code
The internal semaphore list code is moved to a specific file, sem_routine.c, and the internal usage is simplified to only two functions (one to insert a new semaphore and one to remove it from the internal list). There is no need to expose the internal locking, neither how the semaphore mapping is implemented. No functional or semantic change is expected, tested on x86_64-linux-gnu.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r-- | nptl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index c49134b936..8fb7fee6db 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -137,7 +137,7 @@ libpthread-routines = nptl-init nptlfreeres vars events version pt-interp \ pthread_once \ old_pthread_atfork \ pthread_getcpuclockid \ - sem_init sem_destroy \ + sem_init sem_destroy sem_routines \ sem_open sem_close sem_unlink \ sem_getvalue \ sem_wait sem_timedwait sem_clockwait sem_post \ |