Commit | Line | Data |
---|---|---|
b2441318 | 1 | // SPDX-License-Identifier: GPL-2.0 |
878f968e SL |
2 | #include <liblockdep/mutex.h> |
3 | ||
11a1ac20 | 4 | int main(void) |
878f968e | 5 | { |
11a1ac20 | 6 | pthread_mutex_t a; |
878f968e SL |
7 | |
8 | pthread_mutex_init(&a, NULL); | |
878f968e SL |
9 | |
10 | pthread_mutex_lock(&a); | |
878f968e | 11 | pthread_mutex_lock(&a); |
11a1ac20 AAF |
12 | |
13 | return 0; | |
878f968e | 14 | } |