netbsd-help@netbsd.org
[Top] [All Lists]

Re: wanted: analog to procmail's lockfile

Subject: Re: wanted: analog to procmail's lockfile
From: Aleksey Cheusov
Date: Thu, 28 Feb 2008 20:53:40 +0200
> In article <s93tzp2lqvf.fsf@xxxxxxxxxxxxxxxxxx>,
> Aleksey Cheusov  <netbsd-help@xxxxxxxxxx> 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

-- 
Best regards, Aleksey Cheusov.

<Prev in Thread] Current Thread [Next in Thread>