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

Re: Exclusive Locking: design in a nutshell

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2004-05-20 23:08:54 CEST

Josh Pieper wrote:

> ...
> Speaking of shared locking, is there some specific semantics for
> shared locking that you're referring too? How would that work, a
> client requests a lock and states that at most N other clients may
> hold the lock at the same time? I was unable to find anything
> resembling that in the WebDAV spec.

Shared locking is defined in
<http://greenbytes.de/tech/webdav/rfc2518.html#rfc.section.6.1> and
<http://greenbytes.de/tech/webdav/rfc2518.html#rfc.section.8.10.6>.
Basically, a shared write lock behaves exactly the same way as as share
exclusive lock -- the only difference being, that multiple shared locks
(and thus lock tokens) can exist on the same resource.

Write access is granted if you submit one of the lock tokens for that
resource and is denied otherwise.

Hope thios helps, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 20 23:09:31 2004

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.