Using a semaphore-like technique (whether it locks the file being modified or another file) also lends itself to situations where your data processing is abstracted away from your data input and output.
Thanks for the example!
Alan
In reply to Re: Re: A flock()alypse now
by ferrency
in thread A flock()alypse now
by ferrency
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |