1 #include "threads_impl.h" 2 pthread_rwlock_init(pthread_rwlock_t * restrict rw,const pthread_rwlockattr_t * restrict a)3int pthread_rwlock_init(pthread_rwlock_t* restrict rw, const pthread_rwlockattr_t* restrict a) { 4 *rw = (pthread_rwlock_t){}; 5 return 0; 6 } 7