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

NAME

6       mutex_lock_interruptible - acquire the mutex, interruptible
7

SYNOPSIS

9       int __sched mutex_lock_interruptible(struct mutex * lock);
10

ARGUMENTS

12       lock
13           the mutex to be acquired
14

DESCRIPTION

16       Lock the mutex like mutex_lock, and return 0 if the mutex has been
17       acquired or sleep until the mutex becomes available. If a signal
18       arrives while waiting for the lock then this function returns -EINTR.
19
20       This function is similar to (but not equivalent to) down_interruptible.
21

AUTHOR

23       Rusty Russell <rusty@rustcorp.com.au>
24           Author.
25
27Kernel Hackers Manual 3.10         June 2019           MUTEX_LOCK_INTERRUPT(9)
Impressum