Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / tools / lib / lockdep / tests / ABA.c
blob0f782ff404ac65999c8689555967eabb9c6f0e52
1 #include <liblockdep/mutex.h>
3 void main(void)
5 pthread_mutex_t a, b;
7 pthread_mutex_init(&a, NULL);
8 pthread_mutex_init(&b, NULL);
10 pthread_mutex_lock(&a);
11 pthread_mutex_lock(&b);
12 pthread_mutex_lock(&a);