Small. Fast. Reliable.
Choose any three.

SQLite Requirement Matrix Details
threadsafe.html

Index Summary Markup Original


R-20790-14025-05441-59886-17616-40247-63857-04714 tcl slt th3 src

The sqlite3_threadsafe() function returns zero if and only if SQLite was compiled with mutexing code omitted due to the SQLITE_THREADSAFE compile-time option being set to 0.

src/main.c:123

/* IMP: R-20790-14025 */
# EVIDENCE-OF: R-20790-14025 The sqlite3_threadsafe() function returns
# zero if and only if SQLite was compiled with mutexing code omitted due
# to the SQLITE_THREADSAFE compile-time option being set to 0.

R-07272-22309-27541-26278-30152-44282-17867-64207 tcl slt th3 src

The default behavior is for mutexes to be enabled.

src/sqliteInt.h:334

/* IMP: R-07272-22309 */
# EVIDENCE-OF: R-07272-22309 The default behavior is for mutexes to be
# enabled.

R-51445-09984-56297-19281-17742-25631-52037-59978 tcl slt th3 src

The return value of the sqlite3_threadsafe() function shows only the compile-time setting of thread safety, not any run-time changes to that setting made by sqlite3_config(). In other words, the return value from sqlite3_threadsafe() is unchanged by calls to sqlite3_config().

th3/th3main.c:1114

/* IMP: R-51445-09984 */
# EVIDENCE-OF: R-51445-09984 The return value of the
# sqlite3_threadsafe() function shows only the compile-time setting of
# thread safety, not any run-time changes to that setting made by
# sqlite3_config(). In other words, the return value from
# sqlite3_threadsafe() is unchanged by calls to sqlite3_config().