Hello,

I have compiled compiled sqlite with SQLITE_THREADSAFE=1 and inside my  
application I have 2 concurrent threads that need to open some in- 
memory databases that must be completely independents like unique file  
on disk. I open the in-memory dbs with: sqlite3_open(":memory:",  
&db) ... but from the errors I received during the app usage I wonder  
if the combination of compile option and the function used to open the  
db give me some sort of shared in-memory db. Should use  
sqlite3_open_v2 with the SQLITE_OPEN_FULLMUTEX flag set?

In other words ... I need to open in-memory db in a multithreaded  
environment and they must be unique.
Any help would be really appreciate.

Thanks.
-- 
Marco Bambini
http://www.sqlabs.com
http://www.creolabs.com/payshield/





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

Reply via email to