Boost logo

Boost :

From: Miro Jurisic (macdev_at_[hidden])
Date: 2004-07-20 13:58:47


In article <cdj26s$et$1_at_[hidden]>, Vladimir Prus <ghost_at_[hidden]> wrote:

> Actually, I'm not sure what it means to atomically create a directory.

It means that if one processes is attempting directory creation and other
processes are performing other filesystem operations (including directory
creation, but not limited to it), then directory creation in the first process
is guaranteed to completely succeed (creating a directory with the desired path
and permissions and returning 0) or completely fail (returning an error and not
touching the file system). This is not the case on all file systems and on those
on which it is, the POSIX API does not guarantee that mkdir() is implemented to
take advantage of it.

meeroh

-- 
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk