sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / tools / lib / lockdep / tests / WW.c
blobd44f77d710298c38b42ef60758c560314c0328b2
1 #include <liblockdep/rwlock.h>
3 void main(void)
5 pthread_rwlock_t a, b;
7 pthread_rwlock_init(&a, NULL);
8 pthread_rwlock_init(&b, NULL);
10 pthread_rwlock_wrlock(&a);
11 pthread_rwlock_rdlock(&b);
12 pthread_rwlock_wrlock(&a);