[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] FYI: file locks
From: |
Mark Wielaard |
Subject: |
Re: [cp-patches] FYI: file locks |
Date: |
Wed, 20 Jul 2005 18:19:27 +0200 |
Hi,
On Mon, 2005-07-11 at 21:37 -0700, Casey Marshall wrote:
> On Jul 11, 2005, at 5:14 PM, Robert Schuster wrote:
> >
> > Hi,
> > should that patch allow me to run Eclipse without "-
> > Dosgi.locking=none"?
> >
> It might. I don't know what Eclipse does internally, but if it uses
> FileChannel.lock and you are running on a platform that supports the
> 'fcntl' function, then I guess it should.
It doesn't because our our FileLock uses a range of (0, Long.MAX_VALUE)
to lock a whole file which doesn't map transparently on how fcntl uses
it (it wants a len of zero when marking everything locked). I have some
mauve tests now for a couple of corner cases and am working on a patch
to fix any remaining issues. I can startup eclipse now without needing
-Dosgi.locking=none locally now:)
Cheers,
Mark
signature.asc
Description: This is a digitally signed message part