Re: [sqlite] Core dump with python multi thread programming using sqlite3 DB

2019-03-01 Thread Keith Medcalf
On Thursday, 28 February, 2019 21:09, Rishi Mutnuru wrote: >I am developing a Multi threaded solution using sqlite3 DB. I know >there are some issues >With SQlite3 and python multithreads. I have never seen a single multithreading problem with Python and SQLite3, at least not for at least the

Re: [sqlite] Core dump with python multi thread programming using sqlite3 DB

2019-03-01 Thread Richard Hipp
On 2/28/19, Rishi Mutnuru wrote: > Hi Experts, > I am developing a Multi threaded solution using sqlite3 DB. I know there are > some issues > With SQlite3 and python multithreads. > > 1. I compiled libsqlite3 with SQLITE_THREADSAFE=2 so that multiple threads > can use it. > 2. I used the APIs thr

[sqlite] Core dump with python multi thread programming using sqlite3 DB

2019-03-01 Thread Rishi Mutnuru
Hi Experts, I am developing a Multi threaded solution using sqlite3 DB. I know there are some issues With SQlite3 and python multithreads. 1. I compiled libsqlite3 with SQLITE_THREADSAFE=2 so that multiple threads can use it. 2. I used the APIs threading.Lock(), and lock.acquire(), lock.release