in reply to Re: File Read
in thread File Read
I am not attempting to lock the file... I am locking a parallel process from executing one section from running in Parallel and forcing it to run in serial. In order to do that I needed to store a flag in a file that can be accessed by multiple running processesshowing whether a process is executing that section or not. Looping the other Processes until that section is free to run. Then the next process will lock the section and process and release the lock when finished. Thanks for everyone's help though. I found that I was able to use file access +>> and the truncate function to achieve what I needed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File Read
by Fletch (Bishop) on Mar 12, 2007 at 16:51 UTC | |
|
Re^3: File Read
by Anno (Deacon) on Mar 12, 2007 at 17:24 UTC |