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

Tom Philpot tom.philpot at logos.com
Sat Feb 26 00:38:59 EST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.cs
Type: application/octet-stream
Size: 996 bytes
Desc: Main.cs
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110225/8486012d/attachment.obj 


More information about the Mono-devel-list mailing list