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

Re: attn: ghudson; FSFS and multi-threading on Unix broken?

From: Ryan Bloom <rbloom_at_gmail.com>
Date: 2005-04-05 17:57:10 CEST

ok, the global_mutex (that's the real name), allows you to specify the
lock mechanism, just as apr_process_lock does, so that is easily
resolved.

Ryan

On Apr 5, 2005 11:45 AM, Greg Hudson <ghudson@mit.edu> wrote:
> On Tue, 2005-04-05 at 11:32, Ryan Bloom wrote:
> > I'm confused. APR already has the ability to have a per-thread lock.
> > I believe it is called a global_lock. The way this is implemented
> > depends on the platform, but for Linux I am pretty sure it is a fcntl
> > lock for inter-process and a pthread lock for intra-process. For AIX,
> > it is a cross-process pthread lock.
>
> A cross-process pthread lock would be specific to a particular machine.
> FSFS has to work on a network filesystem.
>
>

-- 
Ryan Bloom
rbb@apache.org
rbb@rkbloom.net
rbloom@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 5 17:58:50 2005

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.