28 Feb 2008 20:12
Re: wanted: analog to procmail's lockfile
Simon Truss <simon <at> bigblue.demon.co.uk>
2008-02-28 19:12:00 GMT
2008-02-28 19:12:00 GMT
Aleksey Cheusov wrote: >> In article <s93tzp2lqvf.fsf <at> chen.chizhovka.net>, >> Aleksey Cheusov <netbsd-help <at> netbsd.org> wrote: > >>Does anybody know more or less well known replacement for > >>"lockfile" utility shipped with procmail? > >> > >>I'd prefer standalone utility that is distributed without so heavy baggage. > >> shlock? > > Unfortunately shlock cannot WAIT until lockfile is freed> > while ! shlock ...; do > sleep xxx; > done > > looks ugly > what about setlock in daemontools. Simon
>
> while ! shlock ...; do
> sleep xxx;
> done
>
> looks ugly
>
what about setlock in daemontools.
Simon
RSS Feed