SQLite Forum

Best way to observe database operations
Login
My understanding is (please correct me if Im wrong):

OS processes and threads are distinct. A single OS process can have many threads. Threads within a single process can share memory (and SQLite C pointers to connections).

Two processes cannot easily share C pointers. 


Thanks for the `sqlite3_preupdate_hook` suggestion - I think this only works on the connection it is set on though? If I have another process with another connection it will not fire?