If two processes are writing to the same db file, one will get a BUSY
response if the other has locked it.

Currently the API lets you set a timeout. Does this just retry again after
a set amount of time?

Or is it possible to get notified immediately when the lock has been
released? Can I determine this by watching the file via OS system calls?

Basically Id like the second process to wait the smallest amount of time
possible. With a timeout, it seems time is wasted waiting (if the lock has
already been released).

sqlite-users mailing list

Reply via email to