SQLite Forum

ThreadSantizer warning for sqlite3_enable_shared_cache()
Login
The documentation says of sqlite3_enable_shared_cache():

> This interface is threadsafe on processors where writing a
> 32-bit integer is atomic.

Perhaps this statement should be enhanced to include the word "only" before
"threadsafe".  Regardless, I don't think TSAN qualifies as a platform
on which writing 32-bit integers is atomic, does it?