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
_oasis
OASISFormat: 0.2
Name: parmap
Version: 0.9.4
Authors: Marco Danelutto and Roberto Di Cosmo
Homepage: http://gitorious.org/parmap
License: LGPL-2
LicenseFile: LICENSE
ConfType: custom (0.3)
BuildType: custom (0.3)
InstallType: custom (0.3)
BuildDepends: bigarray, unix
BuildTools: make, ocamlbuild
Synopsis: library to exploit multicore architectures (parallel programming)
XCustomConf: ./configure
XCustomBuild: make
XCustomInstall: make install
XCustomUninstall: make uninstall
Library parmap
Path: _build
Computing file changes ...