mutex_lock_interruptible - acquire the mutex, interruptible
2. SYNOPSIS ▲
int __sched mutex_lock_interruptible(struct mutex * lock );
3. ARGUMENTS ▲
the mutex to be acquired
4. DESCRIPTION ▲
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.
This function is similar to (but not equivalent to) down_interruptible.
5. AUTHOR ▲
Rusty Russell <
6. COPYRIGHT ▲