[PATCH 00/10] htl: move pthread_rwlockatt_* and pthread_rwlock_*

Samuel Thibault samuel.thibault@aquilenet.fr
Sat Feb 15 21:25:52 GMT 2025


Hello,

Thanks for your continued work on this!

gfleury, le sam. 15 févr. 2025 14:50:03 +0200, a ecrit:
> Look well for pthread_rwlock_destroy and pthread_rwlock_init if
> i did the right thing

The _ symbol doesn't seem to be used any more so it can be dropped
indeed.

>   htl: move pthread_rwlock_unlock into libc.
>   htl: move pthread_rwlock_{rdlock, timedrdlock, timedwrlock, wrlock,
>     clockrdlock, clockwrlock} into libc.

For these as well we need to introduce 2.42 symbols. while some of them
were in struct pthread_functions, there was no forwarding symbol in
libc, so this is a new symbol for libc. In htl/forward.c we can see that
there are only pthread_exit and __pthread_get_cleanup_stack which were
already in libc and will thus not need a new symbol.

Samuel


More information about the Libc-alpha mailing list