[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Changing the way we do cancellation.

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2006-03-14 14:24:25 CET

On Tue, 2006-03-14 at 12:40 +0000, Julian Foad wrote:
> There's an idea worth investigating: can we make a portable locking API whose
> implementation uses the system's locking facilites (fcntl, etc.) where
> available and plain files otherwise?

Such an API would create the risk that Subversion on one platform would
be using plain file locking, and on another platform would be using
POSIX-type file locking, on the same working copy in a networked file
store.

If we were planning for 1.0 now, I think it would be reasonable to just
use apr_file_lock(). We do that for FSFS (for commits, and pre-1.3 for
all operations) and it still works okay in most network filesystem
setups. But I'm not sure it's reasonable to make svn working copies
stop working in the few exceptional cases during the 1.x line.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 14 14:25:06 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.