Anonymous user
Determine if only one instance is running: Difference between revisions
Determine if only one instance is running (view source)
Revision as of 17:20, 15 July 2020
, 3 years ago→{{header|BaCon}}
(Added BaCon version.) |
|||
Line 49:
IF flock(me, LOCK_EX | LOCK_NB) <> 0 THEN
PRINT "I am
END
ENDIF
|