Busy yielding occurs both in Fiber.{first,either} and during fiber termination while waiting for the spawns to finish. It is, of course, inefficient.
We need to introduce a form of waiter sets for fibers. This won't change the basic API but will likely entail changes in the primitive effects that are exposed.
Busy yielding occurs both in
Fiber.{first,either}
and during fiber termination while waiting for the spawns to finish. It is, of course, inefficient.We need to introduce a form of waiter sets for fibers. This won't change the basic API but will likely entail changes in the primitive effects that are exposed.