Lines Matching defs:SQLITE_THREADSAFE
357 ** The SQLITE_THREADSAFE macro must be defined as 0, 1, or 2.
367 #if !defined(SQLITE_THREADSAFE)
369 # define SQLITE_THREADSAFE THREADSAFE
371 # define SQLITE_THREADSAFE 1 /* IMP: R-07272-22309 */
433 #if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && SQLITE_THREADSAFE
734 ** [SQLITE_THREADSAFE] compile-time option being set to 0.
737 ** the [SQLITE_THREADSAFE] C preprocessor macro is 1 or 2, mutexes
739 ** [SQLITE_THREADSAFE] macro is 0,
750 ** the desired setting of the [SQLITE_THREADSAFE] macro.
753 ** of the [SQLITE_THREADSAFE] flag. If SQLite is compiled with
754 ** SQLITE_THREADSAFE=1 or =2 then mutexes are enabled by default but
1836 ** the [SQLITE_THREADSAFE | SQLITE_THREADSAFE=0] compile-time option then
1851 ** the [SQLITE_THREADSAFE | SQLITE_THREADSAFE=0] compile-time option then
1862 ** [SQLITE_THREADSAFE=1]) the SQLite library will itself serialize access
1867 ** the [SQLITE_THREADSAFE | SQLITE_THREADSAFE=0] compile-time option then
1965 ** the [SQLITE_THREADSAFE | SQLITE_THREADSAFE=0] compile-time option then
1978 ** the [SQLITE_THREADSAFE | SQLITE_THREADSAFE=0] compile-time option then
3499 ** (with [SQLITE_THREADSAFE=0] and with [sqlite3_threadsafe()] returning 0)
8134 #if !defined(SQLITE_OMIT_SHARED_CACHE) && SQLITE_THREADSAFE
9266 #if !SQLITE_THREADSAFE
9269 #if SQLITE_THREADSAFE && !defined(SQLITE_MUTEX_NOOP)
12043 SQLITE_THREADSAFE==1, /* bFullMutex */
12481 #ifdef SQLITE_THREADSAFE
12482 "THREADSAFE=" CTIMEOPT_VAL(SQLITE_THREADSAFE),
12961 #if !defined(SQLITE_OMIT_SHARED_CACHE) && SQLITE_THREADSAFE>0
13637 #if SQLITE_THREADSAFE>0
14589 #if SQLITE_THREADSAFE
14596 #if SQLITE_THREADSAFE
14658 #if SQLITE_THREADSAFE
18433 #if SQLITE_THREADSAFE==0 && !defined(NDEBUG)
18473 #if SQLITE_THREADSAFE==0 && !defined(NDEBUG)
18487 #if SQLITE_THREADSAFE==0 && !defined(NDEBUG)
20014 #if SQLITE_THREADSAFE
22287 #if defined(SQLITE_THREADSAFE) && SQLITE_THREADSAFE
24526 #if SQLITE_THREADSAFE
24867 #if SQLITE_THREADSAFE
25588 /* If this is not a threadsafe build (SQLITE_THREADSAFE==0), then use
25592 #if SQLITE_THREADSAFE && defined(HAVE_STRERROR_R)
25614 #elif SQLITE_THREADSAFE
36582 #if defined(SQLITE_ENABLE_MEMORY_MANAGEMENT) || SQLITE_THREADSAFE==0
47990 #if SQLITE_THREADSAFE
48233 #else /* SQLITE_THREADSAFE>0 above. SQLITE_THREADSAFE==0 below */
48256 #endif /* if SQLITE_THREADSAFE */
50147 if( SQLITE_THREADSAFE && sqlite3GlobalConfig.bCoreMutex ){
50248 if( SQLITE_THREADSAFE ){
59283 #if !defined(SQLITE_OMIT_SHARED_CACHE) && SQLITE_THREADSAFE>0
59323 #if !defined(SQLITE_OMIT_SHARED_CACHE) && SQLITE_THREADSAFE>0
61618 #if SQLITE_THREADSAFE
61622 #if SQLITE_THREADSAFE
61664 #if SQLITE_THREADSAFE
89874 #if SQLITE_THREADSAFE
89908 #if SQLITE_THREADSAFE
89937 #if SQLITE_THREADSAFE
110198 ** the SQLITE_THREADSAFE compile-time option being set to 0.
110200 SQLITE_API int sqlite3_threadsafe(void){ return SQLITE_THREADSAFE; }
110447 #if defined(SQLITE_THREADSAFE) && SQLITE_THREADSAFE>0