4 ms·
For POSIX, yes. https://rcrowley.org/2010/01/06/things-unix-can-do-atomically.html https://rcrowley.org/2010/01/06/things-unix-can-do-atomicall... Windows has
by chasil 9mo ago
For POSIX, yes.
https://rcrowley.org/2010/01/06/things-unix-can-do-atomically.html https://rcrowley.org/2010/01/06/things-unix-can-do-atomicall...
Windows has a deep well of POSIX in the kernel (plus hard file locks), and it appears to hold there.
https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem