See flock, which will make processes get to the file in an orderly way. You need to make them exclusive with LOCK_EX.
After Compline,
Zaxo
In reply to Re: forking and IPC
by Zaxo
in thread forking and IPC
by mbrentlinger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |