2003-03-10 21:03:03 +00:00
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <bits/pthreadtypes.h>
|
2007-05-27 18:06:18 +00:00
|
|
|
#include <bits/wordsize.h>
|
2003-03-10 21:03:03 +00:00
|
|
|
|
|
|
|
--
|
|
|
|
|
|
|
|
MUTEX offsetof (pthread_rwlock_t, __data.__lock)
|
|
|
|
NR_READERS offsetof (pthread_rwlock_t, __data.__nr_readers)
|
|
|
|
READERS_WAKEUP offsetof (pthread_rwlock_t, __data.__readers_wakeup)
|
|
|
|
WRITERS_WAKEUP offsetof (pthread_rwlock_t, __data.__writer_wakeup)
|
|
|
|
READERS_QUEUED offsetof (pthread_rwlock_t, __data.__nr_readers_queued)
|
|
|
|
WRITERS_QUEUED offsetof (pthread_rwlock_t, __data.__nr_writers_queued)
|
|
|
|
FLAGS offsetof (pthread_rwlock_t, __data.__flags)
|
|
|
|
WRITER offsetof (pthread_rwlock_t, __data.__writer)
|
2007-05-27 18:06:18 +00:00
|
|
|
PSHARED offsetof (pthread_rwlock_t, __data.__shared)
|