blob: e28939c2d3c4899a7b24e5ce5ca102c6a12f051c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
.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
|