NetBSD-Help archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wanted: analog to procmail's lockfile



Aleksey Cheusov wrote:
In article <s93tzp2lqvf.fsf%chen.chizhovka.net@localhost>,
Aleksey Cheusov  <netbsd-help%netbsd.org@localhost> 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



Home | Main Index | Thread Index | Old Index