[Mono-dev] Patch for Processes.c on Mac OSX
Tom Philpot
tom.philpot at logos.com
Wed Nov 25 18:09:41 EST 2009
We have a patch for io-layer/processes.c where Mono on Mac OSX crashes if
trying to lock a named mutex which is not owned by the current process. The
problem is that Mono on Mac does not correctly know how to enumerate
processes.
The attached program assumes that you have built it, it then launches itself
and takes a lock on a named mutex. The first instance also tries to acquire
the lock and crashes.
The attached patch fixes the issue for us.
Again, props to Martin Potter for the discovery and the patch.
Tom
This patch is MIT/X11 licensed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MutexTest.cs
Type: application/octet-stream
Size: 1345 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091125/eebfe05e/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: processes-patch.txt
Type: application/octet-stream
Size: 2226 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091125/eebfe05e/attachment-0003.obj
More information about the Mono-devel-list
mailing list