sanhua.zh wrote: > in the unixLock, we can use F_SETLKW instead of F_SETLK, so that code > will return immediatly when file unlocked. We have not need to sleep- > and-retry, which may waste our running time.
But then SQLite would have no control over the waiting time. It would never do to wait infinitely long in case of a deadlock. Regards, Clemens