1MUTEX_IS_LOCKED(9) Mutex API reference MUTEX_IS_LOCKED(9)
23
4
NAME
6mutex_is_locked - is the mutex locked
7
SYNOPSIS
9int mutex_is_locked(struct mutex * lock);
10
ARGUMENTS
12lock
13the mutex to be queried
14
DESCRIPTION
16Returns 1 if the mutex is locked, 0 if unlocked.
17
AUTHOR
19Rusty Russell <rusty@rustcorp.com.au>
20Author.
21
COPYRIGHT
23Kernel Hackers Manual 3.10 June 2019 MUTEX_IS_LOCKED(9)