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
Raw File
Changelog
2011/11/30 (RDC)
        Version 0.9.8 contains the following major new features w.r.t. 0.9.4
           - a chunksize parameter can be used to control the granularity of the
             parallelism: each worker will handle a series of chunks of this size
             and ask for them when ready, thus allowing the system to achieve
             automatic load balancing
           - very specialised versions of the map function are now available for
             arrays and float arrays, allowing to obtain significant speed-up even
             on relatively light computations
           - autoconf and ocamlbuild harness should simplify compilation and installation.


2011/08/30 (RDC)
        internally convert lists to array to avoid quadratic penalty in execution time on long lists,
        thanks to Paul Vernaza <pvernaza@andrew.cmu.edu> for pointing out this issue;
        added 'a sequence type to allow using efficiently the library both with lists and arrays.
back to top