Nobody's saying you should deploy code with this, but symlinks are a very common filesystem locking method.