diff options
author | drh <drh@noemail.net> | 2015-09-06 02:51:04 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-09-06 02:51:04 +0000 |
commit | 6081c1dbdf7730752bbde89ebb17d01bb30bf8f0 (patch) | |
tree | e82661b7eaaab7bde1934ddb05ecd9cdd9a2da60 /src/sqliteInt.h | |
parent | 0b8d255c37ea9830cecabb57f1c2ba6305eacc44 (diff) | |
download | sqlite-6081c1dbdf7730752bbde89ebb17d01bb30bf8f0.tar.gz sqlite-6081c1dbdf7730752bbde89ebb17d01bb30bf8f0.zip |
Add a memory barrier to the mutex initialization logic, try to work around
an issue reported by WebKit.
FossilOrigin-Name: 11a9a786ec06403addb47f5c6fb142b382fae522
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 89b3d798f..eeb0b9950 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3191,6 +3191,7 @@ const sqlite3_mem_methods *sqlite3MemGetMemsys5(void); sqlite3_mutex *sqlite3MutexAlloc(int); int sqlite3MutexInit(void); int sqlite3MutexEnd(void); + void sqlite3MemoryBarrier(void); #endif sqlite3_int64 sqlite3StatusValue(int); |