in reply to Re^11: locking over the network (rename)
in thread locking over the network

... which is basically a straightforward call to MoveFileEx() and warrants no judgement on whether it is atomic or not.
And indeed, there is a statement by a Microsoft Support person (Microsoft Online Community Support), which says:

Based on my knowledge, MoveFileEx should not be an atomic operation.

-- 
Ronald Fischer <ynnor@mm.st>

Replies are listed 'Best First'.
Re^13: locking over the network (rename)
by Corion (Patriarch) on Feb 02, 2011 at 11:58 UTC

    Yes, I saw that message too, but I would have liked some kind of discussion on the MoveFileEx documentation (or anywhere in the Win32 documentation on file system operations) more asserting. Yet any discussion of the guarantees has eluded me, which was why I asked how you so quickly concluded that it is not atomic.