swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: f7644cbfcdf03528f0f450f3940c4985b2291f49 authored by Linus Torvalds on 09 August 2015, 19:54:30 UTC
Linux 4.2-rc6
Tip revision: f7644cb
AA.c
#include <liblockdep/mutex.h>

void main(void)
{
	pthread_mutex_t a, b;

	pthread_mutex_init(&a, NULL);
	pthread_mutex_init(&b, NULL);

	pthread_mutex_lock(&a);
	pthread_mutex_lock(&b);
	pthread_mutex_lock(&a);
}
back to top