From 63847496f14c813a5d80efd5b7de0f1294ffe1e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 16:07:11 +0200 Subject: Adding upstream version 3.45.1. Signed-off-by: Daniel Baumann --- www/c3ref/c_shm_exclusive.html | 152 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 www/c3ref/c_shm_exclusive.html (limited to 'www/c3ref/c_shm_exclusive.html') diff --git a/www/c3ref/c_shm_exclusive.html b/www/c3ref/c_shm_exclusive.html new file mode 100644 index 0000000..c7ba40c --- /dev/null +++ b/www/c3ref/c_shm_exclusive.html @@ -0,0 +1,152 @@ + + + + + +Flags for the xShmLock VFS method + + + +
+ + + +
+
+Small. Fast. Reliable.
Choose any three. +
+ + +
+
+ + + +
+
+
+ + +
+

SQLite C Interface

+

Flags for the xShmLock VFS method

+
+
+#define SQLITE_SHM_UNLOCK       1
+#define SQLITE_SHM_LOCK         2
+#define SQLITE_SHM_SHARED       4
+#define SQLITE_SHM_EXCLUSIVE    8
+
+

+These integer constants define the various locking operations +allowed by the xShmLock method of sqlite3_io_methods. The +following are the only legal combinations of flags to the +xShmLock method:

+ +

+ +

When unlocking, the same SHARED or EXCLUSIVE flag must be supplied as +was given on the corresponding lock.

+ +

The xShmLock method can transition between unlocked and SHARED or +between unlocked and EXCLUSIVE. It cannot transition between SHARED +and EXCLUSIVE. +

See also lists of + Objects, + Constants, and + Functions.

+ -- cgit v1.2.3