-
Simon Marlow authored
If the current thread blocks, we should yield the Capability immediately, because the thread and hence possibly the current Task are now owned by someone else. This worked in the old scheduler, but we moved where the yield happens in the new scheduler which broke it.
bd6fe3a3