Determine if only one instance is running: Difference between revisions

Content added Content deleted
m (Undo revision 239369 by Spoon! (talk))
Line 517: Line 517:
-- launch the second thread, which will find the lock file and
-- launch the second thread, which will find the lock file and
-- thus will exit immediately
-- thus will exit immediately
forkIO oneInstance</lang>
forkIO oneInstance
return ()</lang>


=={{header|Icon}} and {{header|Unicon}}==
=={{header|Icon}} and {{header|Unicon}}==