am 8a1d2cf1: (-s ours) Add pthread_rwlock_t implementation to the C library (DO NOT MERGE)