[Mono-list] Named mutex not working
Ian Norton
ian.norton-badrul at thales-esecurity.com
Sun Jan 22 12:07:16 UTC 2012
What do you see if you prefix the mutex name with "Global"?
Do all the processes run as the same user?
Ian
--
I may have used dictation software to write this email, please excuse any confusing mistakes.
Nicholas Frechette <zeno490 at gmail.com> wrote:
>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
>_______________________________________________
>Mono-list maillist - Mono-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list