Updated: 2022/Sep/29

Please read Privacy Policy. It's for your privacy.


SQLITE_MUTEX_FAST(3)       Library Functions Manual       SQLITE_MUTEX_FAST(3)

NAME
     SQLITE_MUTEX_FAST, SQLITE_MUTEX_RECURSIVE, SQLITE_MUTEX_STATIC_MAIN,
     SQLITE_MUTEX_STATIC_MEM, SQLITE_MUTEX_STATIC_MEM2,
     SQLITE_MUTEX_STATIC_OPEN, SQLITE_MUTEX_STATIC_PRNG,
     SQLITE_MUTEX_STATIC_LRU, SQLITE_MUTEX_STATIC_LRU2,
     SQLITE_MUTEX_STATIC_PMEM, SQLITE_MUTEX_STATIC_APP1,
     SQLITE_MUTEX_STATIC_APP2, SQLITE_MUTEX_STATIC_APP3,
     SQLITE_MUTEX_STATIC_VFS1, SQLITE_MUTEX_STATIC_VFS2,
     SQLITE_MUTEX_STATIC_VFS3 - mutex types

SYNOPSIS
     #include <sqlite3.h>

     #define SQLITE_MUTEX_FAST
     #define SQLITE_MUTEX_RECURSIVE
     #define SQLITE_MUTEX_STATIC_MAIN
     #define SQLITE_MUTEX_STATIC_MEM
     #define SQLITE_MUTEX_STATIC_MEM2
     #define SQLITE_MUTEX_STATIC_OPEN
     #define SQLITE_MUTEX_STATIC_PRNG
     #define SQLITE_MUTEX_STATIC_LRU
     #define SQLITE_MUTEX_STATIC_LRU2
     #define SQLITE_MUTEX_STATIC_PMEM
     #define SQLITE_MUTEX_STATIC_APP1
     #define SQLITE_MUTEX_STATIC_APP2
     #define SQLITE_MUTEX_STATIC_APP3
     #define SQLITE_MUTEX_STATIC_VFS1
     #define SQLITE_MUTEX_STATIC_VFS2
     #define SQLITE_MUTEX_STATIC_VFS3

DESCRIPTION
     The sqlite3_mutex_alloc() interface takes a single argument which is one
     of these integer constants.

     The set of static mutexes may change from one SQLite release to the next.
     Applications that override the built-in mutex logic must be prepared to
     accommodate additional static mutexes.

IMPLEMENTATION NOTES
     These declarations were extracted from the interface documentation at
     line 8068.

     #define SQLITE_MUTEX_FAST             0
     #define SQLITE_MUTEX_RECURSIVE        1
     #define SQLITE_MUTEX_STATIC_MAIN      2
     #define SQLITE_MUTEX_STATIC_MEM       3  /* sqlite3_malloc() */
     #define SQLITE_MUTEX_STATIC_MEM2      4  /* NOT USED */
     #define SQLITE_MUTEX_STATIC_OPEN      4  /* sqlite3BtreeOpen() */
     #define SQLITE_MUTEX_STATIC_PRNG      5  /* sqlite3_randomness() */
     #define SQLITE_MUTEX_STATIC_LRU       6  /* lru page list */
     #define SQLITE_MUTEX_STATIC_LRU2      7  /* NOT USED */
     #define SQLITE_MUTEX_STATIC_PMEM      7  /* sqlite3PageMalloc() */
     #define SQLITE_MUTEX_STATIC_APP1      8  /* For use by application */
     #define SQLITE_MUTEX_STATIC_APP2      9  /* For use by application */
     #define SQLITE_MUTEX_STATIC_APP3     10  /* For use by application */
     #define SQLITE_MUTEX_STATIC_VFS1     11  /* For use by built-in VFS */
     #define SQLITE_MUTEX_STATIC_VFS2     12  /* For use by extension VFS */
     #define SQLITE_MUTEX_STATIC_VFS3     13  /* For use by application VFS */

SEE ALSO
     sqlite3_mutex_alloc(3)

NetBSD 10.99                    August 24, 2023                   NetBSD 10.99