in reply to File locking
File locking works only for writing files.
If you want to implement it for reading, you have to open the file as
read/writeable. Then all other processes, which opens the file in read/write mode too,
will wait until the first process unlocks the file.
For just reading the file, locking is not nessessary and wouldn't even work.
----------------------------------- --the good, the bad and the physi-- -----------------------------------
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: File locking
by chipmunk (Parson) on May 13, 2001 at 22:02 UTC | |
|
Re: Re: File locking
by virtualsue (Vicar) on May 13, 2001 at 22:42 UTC |