xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_db_mutex.3 (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1.Dd March 11, 2017
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