mutex_lock_interruptible (9) - Linux Man Pages
mutex_lock_interruptible: acquire the mutex, interruptible
mutex_lock_interruptible - acquire the mutex, interruptible
int __sched mutex_lock_interruptible(struct mutex
- the mutex to be acquired
Lock the mutex like mutex_lock, and return 0 if the mutex has been acquired or sleep until the mutex becomes available. If a signal arrives while waiting for the lock then this function returns -EINTR.
Rusty Russell <rusty [at] rustcorp.com.au>