File: lowlevelrwlock.sym

package info (click to toggle)
uclibc 1.0.54-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,176 kB
  • sloc: ansic: 230,009; asm: 30,803; cpp: 4,799; makefile: 2,911; sh: 716; yacc: 610; perl: 535; lex: 364; awk: 40
file content (16 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (55)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stddef.h>
#include <stdio.h>
#include <bits/pthreadtypes.h>
#include <bits/wordsize.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)
PSHARED		offsetof (pthread_rwlock_t, __data.__shared)