Is it safe to have one sqlite3* in one thread doing various operations and then calling sqlite3_interrupt from another thread on that same sqlite3* pointer? Or does sqlite3_interrupt always have to be called in the same thread as the operations?
The doc doesn't say anything either way. The code is pretty trivial only changing (sqlite3*)db->flags but that isn't done under any form of mutex and looks like race conditions could cause problems. Roger

