* Versions.def: Add GLIBC_2.6 to libpthread.
[glibc.git] / nptl / sysdeps / unix / sysv / linux / lowlevelrwlock.sym
blobe82c878d39e458d83597b1e120f23653ba0845c3
1 #include <stddef.h>
2 #include <stdio.h>
3 #include <bits/pthreadtypes.h>
5 --
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)