[Mono-devel-list] RE: [Gc] [PATCH] Race condition when restarting threads

Ben Maurer bmaurer at ximian.com
Mon Aug 1 19:52:53 EDT 2005


On Mon, 2005-08-01 at 16:41 -0700, Boehm, Hans wrote:
> My assumption is that if thread A sends a signal to thread B, then
> Bs handler sees all memory operations performed by A before the
> signal was sent.  I don't think that's officially guaranteed, but I
> would be amazed if it weren't true everywhere.

Ah, yeah, that probably fixes things.

Anyways, not sure what I want to do in the Mono tree for this. We should
probably swap out my version of the patch (the one that does context
switches). Having a membar feels alot cleaner. Would you mind putting up
a pre-7.0a4 for me, so I can see if backporting the patch there and
whatever __asm__ is needed for all the platforms.

-- Ben




More information about the Mono-devel-list mailing list