[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

RE: Files



hi harpreet,

in unix/linux , yes.
in windows, hmmm...

-----Original Message-----
From: Harpreet Singh (RBIN/DCA-NMP) [mailto:Harpreet.Singh@xxxxxxxxxxxx]


When a file is opened for reading by one program, can the same file be
opened for reading by another program at the same time.


in any case , there should be no problem for a read-read scenario.


And when this file is opened for reading by one program, can the same file
be opened for writing or updation by another program at the same time.

This is counter intuitive but Unix allows this. It is up to the
client/application programmer to syncronize. More flexible, the Unix way.

Regards,
Shourya