]>
git.ipfire.org Git - thirdparty/kernel/linux.git/blob - tools/lib/lockdep/tests/common.h
1 #ifndef _LIBLOCKDEP_TEST_COMMON_H
2 #define _LIBLOCKDEP_TEST_COMMON_H
4 #define LOCK_UNLOCK_2(a, b) \
6 pthread_mutex_lock(&(a)); \
7 pthread_mutex_lock(&(b)); \
8 pthread_mutex_unlock(&(b)); \
9 pthread_mutex_unlock(&(a)); \