Hello,

I like to know if is recommended to do multiple connections from multiple 
threads in Sqlite or the best approach is create just one connection to 
multiple threads.
Each thread has a hight concurrence level. 
I already try to open one connection per thread with that arguments:
sqlite3_open_v2(db.toUtf8().data(), &d->access, SQLITE_OPEN_READWRITE | 
SQLITE_OPEN_CREATE|SQLITE_OPEN_FULLMUTEX , 0)
and with SQLITE_OPEN_NOMUTEX too.
and with sqlite_busy_timeout to 5 seconds, but look likes that i still have 
deadlocks.

Igor


      Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

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

Reply via email to