Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cca!mirror!prism!brian From: brian@prism.UUCP Newsgroups: comp.sys.pyramid Subject: Re: flock on Pyramid OSx 4.0 and MH Message-ID: <232400001@prism> Date: Fri, 28-Aug-87 14:02:00 EDT Article-I.D.: prism.232400001 Posted: Fri Aug 28 14:02:00 1987 Date-Received: Sun, 30-Aug-87 02:08:00 EDT References: <3757@sdcsvax.UCSD.EDU> Lines: 20 Nf-ID: #R:sdcsvax.UCSD.EDU:-375700:prism:232400001:000:676 Nf-From: prism.UUCP!brian Aug 28 14:02:00 1987 We have also noticed this with flock(): if you flock with the value LOCK_SH | LOCK_EX, a LOCK_SH is done. This is in both OSx4.0 and (as far as we can tell) OSx3.1. Trying this on BSD4.3, LOCK_SH | LOCK_EX locks with LOCK_EX. You may not notice this until something really bad happens... ---- Brian K. Moran brian@mirror.TMC.COM {mit-eddie, ihnp4!inmet, wjh12, cca, datacube}!mirror!brian Mirror Systems 2067 Massachusetts Avenue Cambridge, MA, 02140 Telephone: 617-661-0777 extension 122 "Won't somebody tell me, just who and what I did... Why's this ring on my finger, and who's that screaming kid? " From "Lost Weekend" by the Beat Farmers ---