[plt-scheme] are some of the file system functions atomic?

From: YC (yinso.chen at gmail.com)
Date: Fri Jun 13 17:07:55 EDT 2008


On Fri, Jun 13, 2008 at 5:40 AM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> Yes, those operations are performed atomically when the OS supports it.
> Currently, only the docs for `rename-file-or-directory' mention
> atomicity, and in that case to clarify that there's a race condition on
> the check for an existing file --- which corresponds to the fact that
> the rename() system call always replaces existing files.
> Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080613/c2ca962a/attachment.html>

Posted on the users mailing list.