swh:1:snp:2d869aa00591d2ac8ec8e7abacdda563d413189d
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
History
Tip revision: f140dbc8b05aa3d341c70436a1920a06df9a0ed4 authored by Roberto Di Cosmo on 02 May 2021, 17:11:46 UTC
Signal exceptions in the worker to the master process in the simplemapper skeleton.
Tip revision: f140dbc
File Mode Size
example
m4
tests
.depend -rw-r--r-- 159 bytes
.gitignore -rw-r--r-- 58 bytes
AUTHORS -rw-r--r-- 716 bytes
Changelog -rw-r--r-- 979 bytes
INSTALL -rw-r--r-- 194 bytes
LICENSE -rw-r--r-- 25.8 KB
META -rw-r--r-- 219 bytes
Makefile.in -rw-r--r-- 2.9 KB
Makefile_3.11.in -rw-r--r-- 2.3 KB
README -rw-r--r-- 6.3 KB
README.maintainer -rw-r--r-- 380 bytes
README.md -rw-r--r-- 6.2 KB
_oasis -rw-r--r-- 567 bytes
_tags -rw-r--r-- 216 bytes
bytearray.ml -rw-r--r-- 3.8 KB
bytearray.mli -rw-r--r-- 1.6 KB
bytearray_stubs.c -rw-r--r-- 2.1 KB
config.h.in -rw-r--r-- 1.8 KB
configure -rwxr-xr-x 197.2 KB
configure.ac -rw-r--r-- 945 bytes
libparmap_stubs.clib -rw-r--r-- 34 bytes
myocamlbuild.ml -rw-r--r-- 648 bytes
oasis_test.sh -rwxr-xr-x 106 bytes
opam -rw-r--r-- 699 bytes
parmap.ml -rw-r--r-- 23.5 KB
parmap.mldylib -rw-r--r-- 38 bytes
parmap.mli -rw-r--r-- 10.2 KB
parmap.mllib -rw-r--r-- 38 bytes
parmap.odocl -rw-r--r-- 7 bytes
parmap_utils.ml -rw-r--r-- 1.3 KB
parmap_utils.mli -rw-r--r-- 270 bytes
setcore.ml -rw-r--r-- 207 bytes
setcore_stubs.c -rw-r--r-- 1.7 KB

README.md

back to top