xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_db_mutex.3 (revision 82d56013d7b633d116a93943de88e08335357a7c)
1.Dd December 19, 2018
2.Dt SQLITE3_DB_MUTEX 3
3.Os
4.Sh NAME
5.Nm sqlite3_db_mutex
6.Nd Retrieve the mutex for a database connection
7.Sh SYNOPSIS
8.Ft sqlite3_mutex *
9.Fo sqlite3_db_mutex
10.Fa "sqlite3*"
11.Fc
12.Sh DESCRIPTION
13This interface returns a pointer the sqlite3_mutex object
14that serializes access to the database connection
15given in the argument when the threading mode is Serialized.
16If the threading mode is Single-thread or Multi-thread
17then this routine returns a NULL pointer.
18.Sh SEE ALSO
19.Xr sqlite3 3 ,
20.Xr sqlite3_mutex 3
21