OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:n_readers
(Results
1 - 2
of
2
) sorted by null
/external/ltp/utils/ffsb-6.0-rc2/
rwlock.c
28
rw->
n_readers
= 0;
44
while (rw->
n_readers
< 0)
46
rw->
n_readers
++;
59
while (rw->
n_readers
!= 0)
61
rw->
n_readers
= -1;
73
rw->
n_readers
-= 1;
81
rw->
n_readers
= 0;
90
if (rw->
n_readers
>= 0) {
91
rw->
n_readers
++;
102
if (rw->
n_readers
== 0)
[
all
...]
rwlock.h
25
/*
n_readers
>= 0 means 0 or more readers */
26
/*
n_readers
< 0 means a writer */
29
int
n_readers
;
member in struct:rwlock
Completed in 58 milliseconds