Name

sqlite3_mutex_notheld() — Test if a mutex lock is not held

Definition

int sqlite3_mutex_notheld( sqlite3_mutex* mutex );
mutex

A mutual exclusion lock. If a NULL value is passed, the function should return true (nonzero).

Returns

A nonzero value if the given mutex is currently not held, or a zero value if the mutex is held.

Description

This function is essentially the opposite of sqlite3_mutex_held() and is subject to the same conditions and limitations.

See Also

sqlite3_mutex_held()