Out of band crate evaluation for 2017-07-06: threadpool

I’ve completed the missing checkpoints in the etherpad. But there are three things that i don’t know where to put:

  • In contrast to crossbeam::scope, this crate requires the worker closure to be static. I think there should be an example on how to deal with the borrow checker error if the user tries to use some stack variable. -> Box

  • The Readme should explain the difference between the Similar libraries and itself, especially the scoping difference. It should also mention the pros of a non-scoped thread pool. (The word scoping is potentially unfamiliar to the user)

  • The usage section in the Readme does only show half the usage. Rename that section into Setup or give more details about usage in code?

3 Likes