3 ms·What's the best way to handle race conditions?by oblio 6y agoWhat's the best way to handle race conditions?hiq 6y agohttps://linux.die.net/man/1/flock https://linux.die.net/man/1/flockoblio 6y agoInteresting, but it looks like an external dependencies, not something that's installed by default :-(hiq 6y agoBy default where? I think it comes with coreutils, so for instance it'd be pretty hard to get a Debian installation without it, but maybe you have a more exotic system?oblio 6y agoHmmm, maybe I need to check again. Thanks for the pointer!