fix race condition in yieldCapability() (#5552)
authorSimon Marlow <marlowsd@gmail.com>
Mon, 24 Oct 2011 12:29:32 +0000 (13:29 +0100)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 24 Oct 2011 12:31:09 +0000 (13:31 +0100)
commitf9f0b08750af311190830f6d4de270806fe52789
treef6d24ef82400888b42521e5a1a8f47883f9aa572
parentf4d37f0579b9f5e3a145bcb6f102a4a5c556a675
fix race condition in yieldCapability() (#5552)

See comment for details.  I've tried quite hard, but haven't been able
to make a small test case that reproduces the bug.
rts/Capability.c