mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 19:51:11 +00:00
c915e5ad56
* sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add lowlevelrwlock.sym. * sysdeps/unix/sysv/linux/lowlevelrwlock.sym: New file. * sysdeps/unix/sysv/linux/i386/lowlevelrwlock.h: Removed.
15 lines
566 B
Plaintext
15 lines
566 B
Plaintext
#include <stddef.h>
|
|
#include <stdio.h>
|
|
#include <bits/pthreadtypes.h>
|
|
|
|
--
|
|
|
|
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)
|