mutex_is_locked — is the mutex locked
int mutex_is_locked (
)
lock
the mutex to be queried
Returns 1 if the mutex is locked, 0 if unlocked.