User talk:Kernigh

From Rosetta Code
Revision as of 07:12, 3 April 2011 by rosettacode>Markhobley (unique instances)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Determine if only one instance is running

Why did you prefer to use files over semaphores here? Is it just that the deletion of files is easier than it is for semaphores, or are there other reasons?

FWIW I am planning to phase out the use of .pid files by implementing a multiplex handler that allows for registration of unique instances (possibly using a semaphore like mechanism). - If the process dies, the unique instance will become unregistered (hopefully by the kernel).

Markhobley 07:12, 3 April 2011 (UTC)