[PATCH 0/8] htl: move pthread_cond_* int libc.

Samuel Thibault samuel.thibault@ens-lyon.org
Sun Dec 22 23:05:23 GMT 2024


Applied the series, thanks!

(except the last patch which was dropping pthread_cond_clockwait being
external, I fixed that)

While at it, better move pt-hurd-cond-wait.c and
pt-hurd-cond-timedwait.c symbols as well.

Next most-often used target could be pthread_mutexattr_* and
pthread_mutex_*

Thanks for working on this,
Samuel

gfleury, le jeu. 19 déc. 2024 22:37:19 +0200, a ecrit:
> An attempt to move pthread_cond_* into libc
> 
> gfleury (8):
>   htl: move pthread_cond_init into libc.
>   htl: move __pthread_wakeup into libc.
>   htl: move pthread_cond_destroy into libc.
>   htl: move pthread_cond_broadcast into libc.
>   htl: move pthread_cond_signal into libc.
>   htl: move __pthread_timedblock, __pthread_timedblock_intr,
>     __pthread_block, __pthread_block_intr into libc.
>   htl: move __pthread_mutex_checklocked into libc.
>   htl: move pthread_cond_timedwait, pthread_cond_clockwait,
>     pthread_cond_wait into libc.
> 
>  htl/Makefile                                 | 24 +++++++++---------
>  htl/Versions                                 | 26 ++++++++++++++++----
>  htl/forward.c                                | 12 ---------
>  htl/pt-initialize.c                          |  6 -----
>  htl/pt-internal.h                            |  9 ++++---
>  sysdeps/htl/pt-cond-brdcast.c                |  8 ++++--
>  sysdeps/htl/pt-cond-destroy.c                |  7 +++++-
>  sysdeps/htl/pt-cond-init.c                   |  8 ++++--
>  sysdeps/htl/pt-cond-signal.c                 |  8 ++++--
>  sysdeps/htl/pt-cond-timedwait.c              | 11 ++++++---
>  sysdeps/htl/pt-cond-wait.c                   |  8 ++++--
>  sysdeps/htl/pthread-functions.h              | 16 ------------
>  sysdeps/htl/pthreadP.h                       |  7 ++++++
>  sysdeps/htl/timer_routines.c                 | 14 +++++------
>  sysdeps/mach/htl/pt-block.c                  |  1 +
>  sysdeps/mach/htl/pt-timedblock.c             |  1 +
>  sysdeps/mach/htl/pt-wakeup.c                 |  1 +
>  sysdeps/mach/hurd/htl/pt-mutex-checklocked.c |  2 ++
>  sysdeps/mach/hurd/htl/pt-mutex-consistent.c  |  1 +
>  sysdeps/mach/hurd/htl/pt-mutex-lock.c        |  1 +
>  sysdeps/mach/hurd/htl/pt-mutex-timedlock.c   |  1 +
>  sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c |  1 +
>  sysdeps/mach/hurd/htl/pt-mutex-trylock.c     |  1 +
>  sysdeps/mach/hurd/htl/pt-mutex-unlock.c      |  1 +
>  sysdeps/mach/hurd/htl/pt-mutex.h             |  2 --
>  sysdeps/mach/hurd/i386/libc.abilist          |  7 ++++++
>  sysdeps/mach/hurd/i386/libpthread.abilist    |  7 ------
>  sysdeps/mach/hurd/x86_64/libc.abilist        |  1 +
>  sysdeps/mach/hurd/x86_64/libpthread.abilist  |  7 ------
>  29 files changed, 109 insertions(+), 90 deletions(-)
> 
> -- 
> 2.39.5
> 


More information about the Libc-alpha mailing list