bug-cvs
[Top][All Lists]
Advanced

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

Re: CVS update: MODIFIED: src ...


From: Larry Jones
Subject: Re: CVS update: MODIFIED: src ...
Date: Fri, 8 Nov 2002 15:08:02 -0500 (EST)

Derek Robert Price writes:
> 
> What happens right now if two tag readers are trying to upgrade to 
> write-locks at the same time?  Can they both have a read lock in the 
> same directory and thus each prevent the other from upgrading to a 
> write-lock?

Right now, that code has been replaced due to that exact problem (which
of course didn't occur to me *before* I checked in the change, only
afterwards).  Now, start_recursion takes a locktype argument that tells
it whether to read or write lock each directory as it's processed.

-Larry Jones

See if we can sell Mom and Dad into slavery for a star cruiser. -- Calvin




reply via email to

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