[Mono-dev] Named EventWaitHandles are not signaled across processes (Regression from 2.7)

Tom Philpot tom.philpot at logos.com
Sat Feb 26 00:43:28 EST 2011

After I hit send I realized Zoltan pointed me to the release notes for 2.8 where this is disabled by default.

From: mono-devel-list-bounces at lists.ximian.com [mono-devel-list-bounces at lists.ximian.com] On Behalf Of Tom Philpot [tom.philpot at logos.com]
Sent: Friday, February 25, 2011 9:38 PM
To: mono-devel-list at lists.ximian.com
Subject: [Mono-dev] Named EventWaitHandles are not signaled across processes (Regression from 2.7)

In trying to upgrade from 2.6 to 2.8+, we've noticed a regression with Named EventWaitHandles not being set across processes. The bug appears in 2.8.1 and in master.

If a thread in one process is waiting on a named EWH, and a thread in another process Set()'s the appropriately named EWH, the waiting thread is never notified. This used to work in 2.6/2.7.

I've opened a bugzilla bug for this: https://bugzilla.novell.com/show_bug.cgi?id=675360 with the attached code which demonstrates the behavior.

Build the code (gmcs –out:EventWaitHandleTest.exe Main.cs)
Run "mono EventWaitHandleTest.exe listen" in one process
Run "mono EventWaitHandleTest.exe signal" in another process

More information about the Mono-devel-list mailing list