[OpenWrt-Devel] [PATCH] busybox: lock: implement -n "Fail rather than wait"
bittorf at bluebottle.com
Thu Aug 13 08:19:12 EDT 2015
* Alexander Couzens <lynxis at fe80.eu> [06.08.2015 19:05]:
> lock -n is similiar to flock -n. If the lock was already taken,
> fail with exit code = 1 and write error message to stderr.
sorry, forget to ask:
is this "more" atomic than 'mkdir mypath || return'?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel