On 11/23/15, Johan W. Van Ooijen <jwvanooijen at kyazma.nl> wrote:
> On 23-11-15 15:01, Richard Hipp wrote:
>  > Try compiling with -DSQLITE_MEMORY_BARRIER=""
>
> This will produce an empty sqlite3MemoryBarrier() function; is such a
> memory barrier not necessary under 32-bit and/or 64-bit Windows?
>

The necessity of a memory barrier is debated.  SQLite seemed to do
fine without one for 14 years.  Probably you will have no problems as
long as you invoke sqlite3_initialize() and let it run to completion
from a single thread before you do anything else with SQLite in any
other thread.

-- 
D. Richard Hipp
drh at sqlite.org

Reply via email to