tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* file locking and file sharing....
@ 1996-08-28 19:22 Christophe Colle
  0 siblings, 0 replies; only message in thread
From: Christophe Colle @ 1996-08-28 19:22 UTC (permalink / raw)
  To: tru64-unix-managers


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      =============

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-08-28 19:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-28 19:22 file locking and file sharing Christophe Colle

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