repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git]
/
tools
/
lib
/
lockdep
/
tests
/
WW.c
blob
d44f77d710298c38b42ef60758c560314c0328b2
1
#include <liblockdep/rwlock.h>
2
3
void
main
(
void
)
4
{
5
pthread_rwlock_t a
,
b
;
6
7
pthread_rwlock_init
(&
a
,
NULL
);
8
pthread_rwlock_init
(&
b
,
NULL
);
9
10
pthread_rwlock_wrlock
(&
a
);
11
pthread_rwlock_rdlock
(&
b
);
12
pthread_rwlock_wrlock
(&
a
);
13
}