I am using sqlite in a multi process scenario. The sqlite library was compiled with the threadsafe serialized mode (-DSQLITE_THREADSAFE=1
).
I want to be notified on datachanges and found sqlite3_update_hook
. Every process would register it's own update hook to be notified of changes to the database.
The question now is: If a process A modifies the database, will the update hook of process B be called? Or do hooks only work within the same process or the same connection?
Sadly, the documentation is not very clear about that.