On 9/15/16, Martin Raiber <mar...@urbackup.org> wrote:
>
> The program opens the database file with fd =
> open("/path/to/database/file", ...) and then closes it with close(fd)
> using the OS file api. The close() clears the posix file locks of the
> process in the database file (that is all posix file locks of all open
> connections in the process).

Yep. That's why we say that Posix locks are broken by design.
https://www.sqlite.org/src/artifact/be9ca0f90?ln=968

It's pretty easy to tell which parts of unix were developed by Dennis
Richie or Bill Joy and which parts came out of a committee.

-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to