Jump to content

Talk:Rename (computing)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Windows atomic rename

[edit]

It seems I reworded this bit during my merge; the original rename (C) page said “the underlying WIN32 call has (since Win2K) had an option to replicate the POSIX atomic behavior”. A quick web search, looking at bug reports in other software, MSDN comments, etc (not particularly reliable sources) point at these Windows APIs:

  • MoveFileEx(), but some suggest this is only usually atomic, not guaranteed
  • MoveFileTransacted()
  • ReplaceFile(), although the list of documented errors and some sources raise doubts about it being atomic

Vadmium (talk, contribs) 05:42, 19 January 2013 (UTC)[reply]