]> sourceware.org Git - glibc.git/commit
nptl: Remove unnecessary forwarding of pthread_cond_clockwait from libc
authorMike Crowe <mac@mcrowe.com>
Wed, 17 Jul 2019 17:51:08 +0000 (14:51 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 18 Jul 2019 14:24:33 +0000 (11:24 -0300)
commit4a8f6d3155e60c19158208ee14022f04c8b0334d
treea4724a579ce8acac118fabad963d737da3872e25
parent9208c3b8043cc1d9bb2c6beb57a208b7ec295020
nptl: Remove unnecessary forwarding of pthread_cond_clockwait from libc

In afe4de7d283ebd88157126c5494ce1796194c16e, I added forwarding functions
from libc to libpthread for __pthread_cond_clockwait and
pthread_cond_clockwait to mirror those for pthread_cond_timedwait. These
are unnecessary[1], since these functions aren't (yet) being called from
within libc itself. Let's remove them.

      * nptl/forward.c: Remove unnecessary __pthread_cond_clockwait and
pthread_cond_clockwait forwarding functions.  There are no internal
users, so it is unnecessary to expose these functions in libc.so.
* sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
unnecessary ptr___pthread_cond_clockwait member.
* nptl/nptl-init.c (pthread_functions): Remove assignment of
removed member.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
[1] https://sourceware.org/ml/libc-alpha/2017-10/msg00082.html
ChangeLog
nptl/forward.c
nptl/nptl-init.c
sysdeps/nptl/pthread-functions.h
This page took 0.072782 seconds and 5 git commands to generate.