You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a bit confused how I can make it so that I create 1 pool where I make submissions to 3 different tasks, but still have the same number of workers for each task
Example:
pool:=pond.New(40, 0, pond.MinWorkers(40)) // 40 workers on each taskpool.Submit(func() {
//task 1 with 40 workers
})
pool.Submit(func() {
//task 2 with 40 workers
})
pool.Submit(func() {
//task 3 with 40 workers
})
pool.StopAndWait()
The text was updated successfully, but these errors were encountered:
I'm a bit confused how I can make it so that I create 1 pool where I make submissions to 3 different tasks, but still have the same number of workers for each task
Example:
The text was updated successfully, but these errors were encountered: