[Mono-list] Named mutex not working

Nicholas Frechette zeno490 at gmail.com
Sun Jan 22 00:17:09 UTC 2012


Hi,
I am using mono 2.10.6 under ubuntu 11.04.

Using the following line:
bool lWasMutexCreated;
Mutex lSystemMutex = new Mutex(true, "SystemMutex", out lWasMutexCreated);

The mutex is always acquired and created even if ran from multiple
concurrent processes. I also tried using Mutex(false, "SystemMutex");
with WaitOne() on the mutex and it always succeeds to acquire the
mutex even when it clearly shouldn't.

Are named mutexes supported under mono?

Regards,
Nicholas


More information about the Mono-list mailing list