Is the mutex locked
int mutex_is_locked(struct mutex * lock);
lock
the mutex to be queried
Returns 1 if the mutex is locked, 0 if unlocked.
Rusty Russell <[email protected]>
Author.