info-cvs
[Top][All Lists]
Advanced

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

Re: Left-over lock files


From: Larry Jones
Subject: Re: Left-over lock files
Date: Mon, 4 Mar 2002 12:55:23 -0500 (EST)

Dan Peterson writes:
> 
> During my research, I wanted to see how a client responds when a lock file
> exists.  I assumed if I manually created a lock dir called #cvs.lock or a
> lock file called #cvs.rfl.<host>.<pid> or #cvs.wfl.<host>.<pid>, the
> client would report the module is locked.

Please read the relevant section of the manual:

        <http://www.cvshome.org/docs/manual/cvs_2.html#SEC17>

> What am I missing?   Shouldn't the existence of the lock file cause the
> cvs command to fail or wait?

Not necessarily.  Any number of processes can have a directory read
locked at the same time, only write locks are exclusive.

-Larry Jones

Don't you hate it when your boogers freeze? -- Calvin



reply via email to

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