summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/sqlite3_db_mutex.3
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man3/sqlite3_db_mutex.3')
-rw-r--r--static/netbsd/man3/sqlite3_db_mutex.327
1 files changed, 27 insertions, 0 deletions
diff --git a/static/netbsd/man3/sqlite3_db_mutex.3 b/static/netbsd/man3/sqlite3_db_mutex.3
new file mode 100644
index 00000000..e28939c2
--- /dev/null
+++ b/static/netbsd/man3/sqlite3_db_mutex.3
@@ -0,0 +1,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