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_at_krtkg1.rug.ac.be
http://krtkg1.rug.ac.be/~colle
+----- christophe.colle_at_rug.ac.be
|
----------+ When I'm in Ghent, then I'm probably at Anouk's place
\________| ======= Radiotherapy Department, Ghent =============
Received on Wed Aug 28 1996 - 22:02:23 NZST