Retrieve the mutex for a database connection

Small. Fast. Reliable.
Choose any three.

## SQLite C Interface

## Retrieve the mutex for a database connection

>     sqlite3_mutex *sqlite3_db_mutex(sqlite3*);

This interface returns a pointer to the sqlite3_mutex object that serializes access to the database connection given in the argument when the threading mode is Serialized. If the threading mode is Single-thread or Multi-thread then this routine returns a NULL pointer.

See also lists of Objects, Constants, and Functions.