3 ms·
lockfile, from the procmail suite, is a great way to do this. It's installed all over the place... even OS X.
by rachelbythebay 13y ago
lockfile, from the procmail suite, is a great way to do this. It's installed all over the place... even OS X.
- tambourine_man 13y agoI didn't know lockfile was part of OS X, thanks. The atomicity hack of mkdir is beautiful though.