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.