Revision a1e92fe78fe48925f83ffb20e6b577f5863d7faa authored by Jeff Mahoney on 05 June 2016, 00:21:04 UTC, committed by Jeff Mahoney on 05 June 2016, 00:21:04 UTC
can_redirect's test for existance of the path followed by the mkdir is inherently racy. It's trivially possible to encounter a situation where the test for existance fails in two processes and one of them succeeds in creating the directory. Since both processes are looking to create and use the directory for the same purpose, we don't need to treat EEXIST as an error.
1 parent 7598fb9
META
name = "parmap"
version = "1.0-rc1"
description = "Parallel map primitive for multicores"
requires = "bigarray unix"
archive(byte) = "parmap.cma"
archive(native) = "parmap.cmxa"
linkopts(byte) = "-cclib -lparmap_stubs"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...