libtool
[Top][All Lists]
Advanced

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

Re: Creating lock file for compilers that don't support -c -o


From: Bob Friesenhahn
Subject: Re: Creating lock file for compilers that don't support -c -o
Date: Mon, 25 Aug 2003 20:40:16 -0500 (CDT)

On Tue, 26 Aug 2003, Robert Collins wrote:

> On Tue, 2003-08-26 at 03:58, Bob Friesenhahn wrote:
> > On Mon, 25 Aug 2003, Albert Chin wrote:
> > Maybe there is some other hard-link which can be used instead?
>
> Renames, and directory create/delete are atomic AFAIK.
>
> The arch/tla code uses file system semantics for locking - some study of
> the code would likely give ideas.

The problem is ultimately how to use something in the filesystem where
object files are written rather than the filesystem where the source
files happen to be located.  The alternative is to figure out how to
use files/directories in the system's temporary file directory to do
the locking.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen






reply via email to

[Prev in Thread] Current Thread [Next in Thread]