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
mei: fix regressions caused by removing ext_msg
[linux/fpc-iii.git]
/
tools
/
lib
/
lockdep
/
tests
/
common.h
blob
d89e94d47d86c641c99b04a39d6fa7c9962fb38b
1
#ifndef _LIBLOCKDEP_TEST_COMMON_H
2
#define _LIBLOCKDEP_TEST_COMMON_H
3
4
#define LOCK_UNLOCK_2(a, b) \
5
do { \
6
pthread_mutex_lock(&(a)); \
7
pthread_mutex_lock(&(b)); \
8
pthread_mutex_unlock(&(b)); \
9
pthread_mutex_unlock(&(a)); \
10
} while(0)
11
12
#endif