Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 22 Aug 2001 02:19:39 +0200
From: Kurt Roeckx <Q@ping.be>
To: Gunnar Andre Dalsnes <hardon@online.no>
Cc: cygwin@cygwin.com
Subject: Re: Help on posix file lock semantics
Message-ID: <20010822021939.A10144@ping.be>
References: <4.2.2.20010821153100.00ba9ba0@mail.online.no> <4.2.2.20010820221811.00b9d9a0@mail.online.no> <4.2.2.20010819225911.00b94970@pop.online.no> <4.2.2.20010819225911.00b94970@pop.online.no> <20010820131824.A200@ping.be> <4.2.2.20010820221811.00b9d9a0@mail.online.no> <20010821121135.A7837@ping.be> <4.2.2.20010821153100.00ba9ba0@mail.online.no> <20010822003718.A9717@ping.be> <4.2.2.20010822010059.00ba5600@mail.online.no>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <4.2.2.20010822010059.00ba5600@mail.online.no>

On Wed, Aug 22, 2001 at 01:31:39AM +0200, Gunnar Andre Dalsnes wrote:
> At 22.08.01 00:37 , you wrote:
> >
> >Those 2 regions follow each other.  I think you're not supposed
> >to merge those regions even if you could.
> >
> >If you don't merge regions in any other case, why would you
> >suddenly want to merge them in the case of overlapping regions?
> 
> But if the (linux) os kernel does it automagically for us, I want to do it too:-)

The comment for posix_lock_file() in fs/locks.s says: 
"We merge adjacent locks whenever possible.", so I guess it
always does.


Kurt


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

