I think that Robert implemented an approach where each thread allocated its own handle to the DB. However he should verify when he has a moment.

Ian


On Jul 25, 2007, at 10:08 AM, [EMAIL PROTECTED] wrote:

В сообщении от 25 июля 2007 17:44 Ian Eslick написал(a):
Are you using the SQLite data store in a multi-threaded application?
Robert, how did we resolve threading for CL-SQL data stores?  This
sounds like a conflict where a second thread is accessing a db while
the first thread has the file locked.  However this is just a
speculation.

Yes, I am using sqlite in a multi-threaded application.

From sqlite wiki: Do not use the same database connection at the same time in
more than one thread.
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to