Skip to content

high level file locking file interface #512

Open
wants to merge 1 commit into from

2 participants

@c-cube
ocaml-batteries-team member
c-cube commented Jan 19, 2014

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

@thelema
ocaml-batteries-team member

I like the idea behind the code, although it needs a self-test before we can accept it.

ocaml-batteries-team member

I agree, but I'm not sure of how to test this. It requires some form of threading/forking to be able to concurrently access a file, yet check that race conditions do not occur. This might raise more questions about how to test the threaded part of batteries...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.