3 #include <bits/pthreadtypes.h>
7 MUTEX offsetof (pthread_rwlock_t, __data.__lock)
8 NR_READERS offsetof (pthread_rwlock_t, __data.__nr_readers)
9 READERS_WAKEUP offsetof (pthread_rwlock_t, __data.__readers_wakeup)
10 WRITERS_WAKEUP offsetof (pthread_rwlock_t, __data.__writer_wakeup)
11 READERS_QUEUED offsetof (pthread_rwlock_t, __data.__nr_readers_queued)
12 WRITERS_QUEUED offsetof (pthread_rwlock_t, __data.__nr_writers_queued)
13 FLAGS offsetof (pthread_rwlock_t, __data.__flags)
14 WRITER offsetof (pthread_rwlock_t, __data.__writer)