Skip site navigation (1)Skip section navigation (2)
Date:      20 Dec 2000 13:25:29 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        asami@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: ports lockfile?
Message-ID:  <xzpy9xbgtza.fsf@flood.ping.uio.no>
In-Reply-To: Alfred Perlstein's message of "Tue, 19 Dec 2000 23:57:50 -0800"
References:  <20001219113535.Q19572@fw.wintelcom.net> <20001220094157.C644@ringworld.oblivion.bg> <20001219235750.I19572@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


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?xzpy9xbgtza.fsf>