[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: Mark Benedetto King <mbk_at_lowlatency.com>
Date: 2005-04-06 03:56:14 CEST

On Tue, Apr 05, 2005 at 11:51:38AM -0400, Mark Phippard wrote:
> Greg Hudson <ghudson@MIT.EDU> wrote on 04/05/2005 11:48:52 AM:
>
> > It uses apr_file_lock(). I have no ide ahow this is implemented under
> > OS/400.
>
> Neither do I, but IBM provides support so I will have to call it in. I
> guess I would want to ask them whether the lock is scoped to the thread or
> the process?
>
> Thanks
>
> Mark
>

You could write a short test program that spins up two threads, each
of which tries to acquire a lock, prints success, and then sleeps.

If you get two success messages, you've got a problem.

I'd recommend that you do this regardless of what IBM support tells you.

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 6 20:06:39 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.