On Thu, Jan 2, 2014 at 1:23 PM, Prakash Reddy Bande <praka...@altair.com>wrote:

> Hi,
>
> As per documentation opening a database with SQLITE_OPEN_NOMUTEX flag
> opens it in multi-threaded mode.
> http://www.sqlite.org/threadsafe.html says In this mode, SQLite can be
> safely used by multiple threads provided that no single database connection
> is used simultaneously in two or more threads.
>
> I just wanted to be certain that this is true in case of multi-cpu
> machines and cache-coherence related issues won't surface.
>

Confirmed.  As long as you don't use the same database connection on
multiple threads/cores at the same time, you will be fine.

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to