in reply to Ways to sequence calls from multiple processes
Open and lock a file (should be different from the file to be processed, so you can open and close that file multiple times if necessary without ending the lock)
Open file to be processed and do whatever
Unlock the lock file
I wrote myself small subs for locking and unlocking, and I just cut and paste them in wherever I need them. Saves time coding.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ways to sequence calls from multiple processes
by DrHyde (Prior) on Nov 30, 2004 at 09:07 UTC |