Reference

mutex_is_locked(9)

is the mutex locked

NAME

mutex_is_locked - is the mutex locked

SYNOPSIS

int mutex_is_locked(struct mutex * lock);

ARGUMENTS

lock

the mutex to be queried

DESCRIPTION

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

AUTHOR

Rusty Russell <[email protected]>

Author.

COPYRIGHT

History