Join Slack
Powered by
You could have each worker output a poison pill as...
# coroutines
m
mp
05/23/2018, 8:21 PM
You could have each worker output a poison pill as it ends (e.g. -1 or whatever), or just simply take exactly as many things out as you put into the first queue.
7
Views
Open in Slack
Previous
Next