NetBSD-Help archive

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

Re: wanted: analog to procmail's lockfile




To: Simon Truss <simon%bigblue.demon.co.uk@localhost>

Subject: Re: wanted: analog to procmail's lockfile

From: Aleksey Cheusov <cheusov%tut.by@localhost>

Date: Thu, 28 Feb 2008 22:53:02 +0200


 >>  >>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.

WARNING: daemontools-0.76nb1 may not be put on a CD-ROM:
WARNING: modified source and binaries may not be distributed
WARNING: daemontools-0.76nb1 may not be made available through FTP:
WARNING: modified source and binaries may not be distributed

Also running child process doesn't look good.
shlock's way suits my needs better.

-- 
Best regards, Aleksey Cheusov.


Follow-Ups:

Re: wanted: analog to procmail's lockfile
From: Eric d'Alibut


References:

Re: wanted: analog to procmail's lockfile
From: Aleksey Cheusov

Re: wanted: analog to procmail's lockfile
From: Simon Truss




Prev by Date: Re: wanted: analog to procmail's lockfile

Next by Date: cd burner in base of NetBSD

Previous by Thread: Re: wanted: analog to procmail's lockfile

Next by Thread: Re: wanted: analog to procmail's lockfile

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index