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

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


Thanks!

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://list.cs.brown.edu/pipermail/plt-scheme/attachments/20080613/c2ca962a/attachment.html


More information about the plt-scheme mailing list