Re: [sqlite] sqlite3_interrupt() for controlled interruption

2013-12-03 Thread Chen, Mi
] sqlite3_interrupt() for controlled interruption On 12/3/2013 9:26 PM, Chen, Mi wrote: > I want to use sqlite3_interrupt() to interrupt the statement that is > executing sqlite3_step() for the first time in the worker. It is mutex > protected so I already make sure that when sqlite3_interrupt() is c

Re: [sqlite] sqlite3_interrupt() for controlled interruption

2013-12-03 Thread Igor Tandetnik
On 12/3/2013 9:26 PM, Chen, Mi wrote: I want to use sqlite3_interrupt() to interrupt the statement that is executing sqlite3_step() for the first time in the worker. It is mutex protected so I already make sure that when sqlite3_interrupt() is called, my worker thread is running sqlite3_step()

[sqlite] sqlite3_interrupt() for controlled interruption

2013-12-03 Thread Chen, Mi
I run into an issue where I have a database connection that have quite a few queries that were suspended due to managed priorities... I have two threads, the control thread (UI), and a sqlite3 worker thread. I want to use sqlite3_interrupt() to interrupt the statement that is executing sqlite3_s