Name
sqlite3_threadsafe() — Test if SQLite is thread-safe
Definition
int sqlite3_threadsafe( );
- Returns
The compile-time value of
SQLITE_THREADSAFE
.
Description
This function returns the compile time value of SQLITE_THREADSAFE
. A value of
zero indicates that no thread support is available. Any other
value indicates some level of thread support is available. If
the result is nonzero, the specific threading mode can be set
for the whole library using sqlite3_config()
, or for a specific database
connection using sqlite3_open_v2()
.
See Also
sqlite3_config(), sqlite3_open_v2(), SQLITE_THREADSAFE [Build Opt, Ap A]
Get Using SQLite now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.