[comp.sys.mac.programmer] PBLockRange wanted

msurlich@immd1.informatik.uni-erlangen.de (07/07/88)

So here I have these three and a half programs that access the same files.
Two of them can run in the background under MultiFinder.

Problem: as Technote 186 states correctly, no range locking.
I do not want everyone to run TOPS (bad because I need the printer port)
or AppleShare (worse because AppleShare implements range locking on 
server volumes only).

I do not want to dedicate lots of my program to some communication with
other parts of the system. The only case where this would be necessary
(everything running on the same Mac) is the most suspect (communication
over AppleTalk is out, anything else probably won't work once System 7.0
is up and running).

So, does anyone have code to patch PBLockRange into HFS? Or (APPLE) will this
be in System 7.0? (I probably could postpone the integration of my programs
till then).

Range locking is a very useful and fast (compared to other "solutions" of
the reader/writer problem every CS student is being bothered with) way
to protect programs from one another, and is really needed under MultiFinder
even (and especially) on Macs not running AppleTalk. 
Apple, do something! (1/2 :-) )
-- 
Matthias Urlichs     CompuServe: 72437,1357  Delphi: URLICHS
Rainwiesenweg 9      Phone: +49+911-574180
8501 Schwaig 2       NetMail: m_urlichs@msn.rmi.de
West Germany              or: (r)eply and (h)ope
-- 
Matthias Urlichs     CompuServe: 72437,1357  Delphi: URLICHS
Rainwiesenweg 9      Phone: +49+911-574180
8501 Schwaig 2       NetMail: m_urlichs@msn.rmi.de
West Germany              or: (r)eply and (h)ope