1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Add experimental feature to detect threading bugs in apps that use

SQLITE_CONFIG_MULTITHREADED. Enabled at compile time using
SQLITE_ENABLE_MULTITHREADED_CHECKS.

FossilOrigin-Name: a66886ac13aa6d8ccbb6d673ddd00267c93e3ee1fbc158236fce3157d150868d
This commit is contained in:
dan
2017-11-25 17:51:01 +00:00
parent d37ce8396a
commit 8385becfe1
5 changed files with 208 additions and 10 deletions

View File

@@ -3590,6 +3590,12 @@ int sqlite3LookasideUsed(sqlite3*,int*);
sqlite3_mutex *sqlite3Pcache1Mutex(void);
sqlite3_mutex *sqlite3MallocMutex(void);
#ifdef SQLITE_ENABLE_MULTITHREADED_CHECKS
void sqlite3MutexWarnOnContention(sqlite3_mutex*);
#else
# define sqlite3MutexWarnOnContention(x)
#endif
#ifndef SQLITE_OMIT_FLOATING_POINT
int sqlite3IsNaN(double);
#else