note
space_monk
<p>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.
<p>I couldn't quite get that far in my earlier suggestion, but thought a 1 letter regex was a close as you could get. ;-)
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-880879">
A Monk aims to give answers to those who have none, and to learn from those who know more.
</div></div>
1004596
1004636