TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Miha Valencic
from: Erik Huelsmann
date: 1995-09-01 18:57:04
subject: Multi-user programming

Hello Miha,
 
 CA> as far as os/2 is concerned and afaik you can only access
 CA> whole files. 

 MV> No. You can lock a only a range, using (for 
 MV> example) DosSetFileLocks function, and setting 
 MV> unlock file offset and unlock range to zero. 

Do you mean by this that only a maximum of one contigeous region can be
locked? Since I would like to lock multiple regions within a file, each of
which is contigeous, but the total are sure to be discontigeous. (am I
clear this time?)
 
CU,
 
Erik/2

--- Maximus 2.01
* Origin: HCC Groningen-1 (050-275565 t/m v32b/v42b) lijn 1 (2:500/19)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 500/19 9 28/777 2/777 105/42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.