Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2000 04:27:24 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        asami@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: ports lockfile?
Message-ID:  <20001220042724.R19572@fw.wintelcom.net>
In-Reply-To: <xzpy9xbgtza.fsf@flood.ping.uio.no>; from des@ofug.org on Wed, Dec 20, 2000 at 01:25:29PM %2B0100
References:  <20001219113535.Q19572@fw.wintelcom.net> <20001220094157.C644@ringworld.oblivion.bg> <20001219235750.I19572@fw.wintelcom.net> <xzpy9xbgtza.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
* Dag-Erling Smorgrav <des@ofug.org> [001220 04:25] wrote:
> Alfred Perlstein <bright@wintelcom.net> writes:
> > Well here's the very tricky part that I really haven't worked out
> > how to do this, the lockf program runs a program with the lock, so
> > I need to make the lockf program run make again.
> 
> Use a directory as lock file: mkdir will fail if the directory exists,
> allowing you to either abort or sleep and loop back.

It's a good idea, but ensuring cleanup is a real problem when you
do that.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001220042724.R19572>