You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Florian Weimer <fw...@deneb.enyo.de> on 2005/10/12 18:30:07 UTC

Thread-safe POSIX file locking

How did you solve the problem that svnserve, when running with
--threads, cannot reliably use POSIX file locking, as needed by the
FSFS backend?

(The problem was that a file lock is a per-process resource and
recursive.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Thread-safe POSIX file locking

Posted by Philip Martin <ph...@codematters.co.uk>.
Florian Weimer <fw...@deneb.enyo.de> writes:

> How did you solve the problem that svnserve, when running with
> --threads, cannot reliably use POSIX file locking, as needed by the
> FSFS backend?

By adding mutexes.

> (The problem was that a file lock is a per-process resource and
> recursive.)

It's issue 2265:

http://subversion.tigris.org/issues/show_bug.cgi?id=2265

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org