hard link? ==> Re: [plt-scheme] are some of the file system functions atomic?

From: YC (yinso.chen at gmail.com)
Date: Tue Jun 17 22:22:49 EDT 2008

Hi -

Is there a function for creating hardlinks (in supported OS)?  I thought
make-file-or-directory-link will do the trick but  not according to the doc


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080617/547bd1a6/attachment.html>

Posted on the users mailing list.