summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/tests/unlock_balance.c
blob: 0bc62de686f7b4a51615f538d88f79447cce1310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <liblockdep/mutex.h>

void main(void)
{
	pthread_mutex_t a;

	pthread_mutex_init(&a, NULL);

	pthread_mutex_lock(&a);
	pthread_mutex_unlock(&a);
	pthread_mutex_unlock(&a);
}
trl'>
Diffstat (limited to 'net/key/Makefile')