Skip to content
  • Simon Marlow's avatar
    Fix a bug in the new scheduler · bd6fe3a3
    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