tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Christophe Colle <colle () krtkg1 ! rug ! ac ! be>
To: tru64-unix-managers
Subject: file locking and file sharing....
Date: Wed, 28 Aug 1996 19:22:51 +0000	[thread overview]
Message-ID: <96076337821736.tru64-unix-managers.marc@archive.invalid> (raw)


Hi,

I'm trying to port a small program which I wrote on a IBM running AIX. 
Under AIX there is a possibility to specify O_NSHARE and O_DELAY when 
opening a file with the open system call. If you specify both flags, the 
process will hang until no other process has the specified file open. Is 
there a possibility to perform the same action under digital unix (3.2c)? 
I need this because there is a medical device which uses a file to check 
for concurrent processes accessing one database. 
So I want a way to be sure that 2 processes won't open the same file at 
the same time...

Any help is welcome.

Thanks in advance!

Christophe Colle

     | \       =============================================================  
     |  \      Colle Christophe                      Phone: +32-(0)9-2403955  
     |   \     mail: colle@krtkg1.rug.ac.be   http://krtkg1.rug.ac.be/~colle
     +-----          christophe.colle@rug.ac.be           
     |
 ----------+   When I'm in Ghent, then I'm probably at Anouk's place
  \________|   =======     Radiotherapy Department, Ghent      =============

                 reply	other threads:[~1996-08-28 19:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox