in reply to Only let one copy of program run at a time
On a similar note, see Highlander - allow only one invocation at a time of an expensive CGI script from one of merlyn's columns. :-)
--k.