perf tools: Don't clone maps from parent when synthesizing forks
[linux/fpc-iii.git] / tools / lib / lockdep / tests / ABBA.c
blob1460afd33d712c2469982190ea7a08019b3c0295
1 // SPDX-License-Identifier: GPL-2.0
2 #include <liblockdep/mutex.h>
3 #include "common.h"
5 void main(void)
7 pthread_mutex_t a, b;
9 pthread_mutex_init(&a, NULL);
10 pthread_mutex_init(&b, NULL);
12 LOCK_UNLOCK_2(a, b);
13 LOCK_UNLOCK_2(b, a);