show icon indicating copy to clipboard operation
show copied to clipboard

Worker pool

Open mre opened this issue 7 years ago • 1 comments

What?

Implement a worker pool

Why?

Show how to use channels similar to the go implementation. Maybe there's a way to use custom derives to create a worker pool from a "pool" struct

How?

Start with the go implementation, port it to Rust and then make it more idiomatic.

mre avatar May 15 '18 09:05 mre

Also see:

  • https://github.com/Jeffail/tunny
  • https://github.com/kinghajj/kirk
  • https://docs.rs/threadpool/1.7.1/threadpool/
  • https://docs.rs/rayon/*/rayon/struct.ThreadPool.html

mre avatar May 15 '18 10:05 mre