lock a file...
that might be little not so simple as it sounds.
the flag having the process ID and start ticks should be enough proof.
_________________________
!

download KiXnet