Hello,

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).

Thanks.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to