ocaml-batteries-team/batteries-included — pull request #512 by c-cube (2014-01-19 21:50:38+00:00)
Title: high level file locking file interface

Not sure if useful enough for batteries, but I found this code nice for coarse-grained concurrent updates on files.