.Dd January 24, 2024 .Dt SQLITE3_DB_MUTEX 3 .Os .Sh NAME .Nm sqlite3_db_mutex .Nd retrieve the mutex for a database connection .Sh SYNOPSIS .In sqlite3.h .Ft sqlite3_mutex * .Fo sqlite3_db_mutex .Fa "sqlite3*" .Fc .Sh DESCRIPTION This interface returns a pointer 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. .Sh IMPLEMENTATION NOTES These declarations were extracted from the interface documentation at line 8209. .Bd -literal SQLITE_API sqlite3_mutex *sqlite3_db_mutex(sqlite3*); .Ed .Sh SEE ALSO .Xr sqlite3 3 , .Xr sqlite3_mutex 3