delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/11/30/09:15:15

Date: Thu, 30 Nov 2000 16:13:49 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Mark E." <snowball3 AT bigfoot DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Locking fcntl() and flock() patches
In-Reply-To: <3A261A2D.6814.24A3A8@localhost>
Message-ID: <Pine.SUN.3.91.1001130161256.25556J-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 30 Nov 2000, Mark E. wrote:

> > So you wanted to implement shared locks by using SH_DENY* flags instead 
> > of Int 21h/AH=5Ch, yes?
> 
> Yes, but it would have only worked on the whole file

Of course.

Does the IOCTL subfunction or poking the SFT allow to set the SH_DENY* 
bits for files that are already open?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019