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

From: YC (yinso.chen at gmail.com)
Date: Fri Jun 13 00:44:22 EDT 2008

Hi -

are functions such as open-ouput-file, make-file-or-directory-link,
rename-file-or-directory implemented directly above the system calls such as
open, link, and rename?

The reason I am asking is because I need to rely on the atomic property
(i.e. either succeed or fails) of these system calls on filesystem such as
ext3, and need to know whether using them along is sufficient to retain the
properties or I need to learn how to use FFI to make the system calls
directly.

Thanks,
yc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080612/b819e51e/attachment.html>

Posted on the users mailing list.