hard link? ==> Re: [plt-scheme] are some of the file system functions atomic?
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
at
http://docs.plt-scheme.org/reference/Filesystem.html#(def._((quote._~23~25kernel)._make-file-or-directory-link))
.
Thanks,
yc
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>