I get the impresssion that the OP is aware of the various methods of locking, but wants a way of making the code lock files without making any changes to the (already existing) main body of code.
I couldn't quite get that far in my earlier suggestion, but thought a 1 letter regex was a close as you could get. ;-)
In reply to Re^2: Auto flock
by space_monk
in thread Auto flock
by AlfaProject
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |