Retiring __libc_rwlock?

Florian Weimer fweimer@redhat.com
Fri Feb 27 16:36:53 GMT 2026


Should we retire __libc_rwlock_*?  It is equivalent to pthread_rwlock_*.
I found it confusing that the hidden aliases for __pthread_rwlock_* do
not work without including internal headers.  Instead we are expected to
use <libc-lock.h> and __libc_rwlock_*.

Do we expect to have a smaller rwlock one day that lacks optional
pthread features?

Thanks,
Florian



More information about the Libc-alpha mailing list