It sounds like you are after a named semaphore in the "Global\\"
namespace. The semaphore count should work fine when your process
terminates abnormally - but will not if it simply hangs - so something
will need to terminate a hung process before the semaphore becomes
available.
HTH,
Mark
Hi Tim,
> It's not quite clear whether you want something which you can build into the
> application itself
Yes, since I control the source code, this is a feature I would like to
build into my applications.
> ... in which case, the answer's probably Semaphores:
> http://msdn.microsoft.com/en-