Perhaps you could create a temporary lockfile for a file that's currently in use. Other processes would check for (and ignore) any file that has a lockfile present.
Simplistic, but it might work...
In reply to Re: Synchronizing multiple processes retrieving files out of shared directory
by thezip
in thread Synchronizing multiple processes retrieving files out of shared directory
by MitchInOmaha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |