Hi,Though the issue is fixed in pthread_rwlock_rdlock.m4, there's an edge case where if we only rely on pthread_h.m4, things will fail since test-pthread.c uses 'PTHREAD_RWLOCK_INITIALIZER'.
So, if I install all pthread modules & run make check, all the pthread tests now pass. However, if I only use the pthread-h one, test-pthread will fail, because pthread.h exists but the implementation is incomplete.
Should pthread_rwlock_rdlock.m4 be added as dependency for pthread_h.m4? Sevan