4 ms·
Things Unix can do atomically
- rntz 16y agoSome of the things he mention have nothing to do with Unix or Posix. __sync_*, for example, are gcc-specific. Similarly, F_GETLEASE, F_SETLEASE, and F_NOTIFY are Linux-specific fcntl() operations. And as far as I can tell, the -T option isn't included in the Posix spec for mv, either (http://www.opengroup.org/onlinepubs/000095399/toc.htm http://www.opengroup.org/onlinepubs/000095399/toc.htm).
- jrockway 16y agoThe "POSIX spec" makes for a completely unusable UNIX, so I'm not sure why anyone would care what it says.
- JoachimSchipper 16y agoBecause all the world is not Linux.
- jrockway 16y agoAnd even less of the world is POSIX.
- billswift 16y agoThis was post here about 4 months ago, http://news.ycombinator.com/item?id=1035100 http://news.ycombinator.com/item?id=1035100 , lots of good comments.
- moron4hire 16y ago"UNIX-like/POSIX-compliant operating systems" So what would that not be?
- wmf 16y agoWindows. (And don't even mention Windows POSIX.)