Re: [sqlite] Multithread access to DB

2006-03-21 Thread Rafal Rusin
Sqlite has 3 types of locks, which is weird for me. Could You explain what is a "reserved lock"? Read and read/write (exclusive) locks are apparent. http://www.sqlite.org/capi3ref.html#sqlite3_busy_handler Best Regards, Rafal Rusin TouK Company (www.touk.pl)

Re: [sqlite] Multithread access to DB

2006-03-13 Thread Rafal Rusin
hout success. There was a deadlock when I tried to use it with python pysqlite2 with 10 threads simultanously accessing DB. Best Regards, Rafal Rusin TouK Company (www.touk.pl)

[sqlite] Multithread access to DB

2006-03-13 Thread Rafal Rusin
at topic? Maybe there are some future plans to change implementation so it won't return SQLITE_BUSY error, but wait? It's quite annoying and should be replaced with some kind of quality multithread solution. Maybe with some semaphores or fifos on linux and similiar things on windows. Best R