home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ferkel.ucsb.edu!ucsbcsl!network.ucsd.edu!usc!sol.ctr.columbia.edu!eff!iWarp.intel.com|inews.Intel.COM!ilx018!ilws14!steed
- From: steed@ilws14 (Ze'ev Shtadler)
- Newsgroups: comp.lang.perl
- Subject: open(lockfile, O_CREAT|O_WRONLY|O_EXCL, 0444) in perl?
- Keywords: lock file
- Message-ID: <1992Aug19.082244.61337@ilx018.intel.com>
- Date: 19 Aug 92 08:22:44 GMT
- Sender: news@ilx018.intel.com (USENET news system)
- Organization: Intel
- Lines: 14
- X-Newsreader: Tin 1.1 PL4
-
- I'd like to have a perl script that uses a lock file as a semaphore
- across NFS of diverse hardware platforms and operating systems. I was
- told, this is the only "real safe" way to ensure exclusive access
- between processes on different machines (I know this does not apply to
- processes not bothering to lock :-). Can that be done from within
- perl?
-
- Ze'ev.
-
- --
- Ze'ev "Steed" Shtadler, Design Technology, IDC2-41,
- INTeL Israel, P.O. Box 1659, Haifa 31015, ISRAEL.
- steed@iil.intel.com Work: +972-4-355935 FAX: +972-4-355666
- iNET: 8-435-5935 Home: +972-4-220306
-