The code for spawning fibers was probably copied from Picos_fifos and was also correct before enhancing Picos_randos to support running on multiple cores. With multiple runners the count must be updated before pushing new Spawns into the collection, because otherwise the count may incorrectly become 0 too early.
The code for spawning fibers was probably copied from
Picos_fifos
and was also correct before enhancingPicos_randos
to support running on multiple cores. With multiple runners the count must be updated before pushing newSpawn
s into the collection, because otherwise the count may incorrectly become0
too early.