1MUTEX_IS_LOCKED(9)            Mutex API reference           MUTEX_IS_LOCKED(9)
2
3
4

NAME

6       mutex_is_locked - is the mutex locked
7

SYNOPSIS

9       int mutex_is_locked(struct mutex * lock);
10

ARGUMENTS

12       lock
13           the mutex to be queried
14

DESCRIPTION

16       Returns 1 if the mutex is locked, 0 if unlocked.
17

AUTHOR

19       Rusty Russell <rusty@rustcorp.com.au>
20           Author.
21
23Kernel Hackers Manual 3.10         June 2019                MUTEX_IS_LOCKED(9)
Impressum