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