Hacker News new | ask | show | jobs
by Nmi2osv7 1049 days ago
additionally this is atomic (well, as in it's one command, it's not atomic internally)
2 comments

In what way is it atomic? “One command” doesn’t have anything to do with being atomic.
yes it does? consider running a bash script, or piping commands over ssh. if you lose the connection only the first command might send. (bash is line and command oriented of course, so this is pretty obvious...)
I don’t think atomic operations mean what you think it does.
I'm not even sure I want to know what nightmare bug would cause someone to consider if that was atomic or not!