1. 16
  1.  

  2. 4

    Clickbaity title: the article is actually a set of recommendations for existing thread pool libraries like rayon.

    1. 3

      If like me you thought this was about event loop applications you might be interested in the generic Future<_> job with worker pool with crossbeam I wrote for my mail client meli. The future sends its result back using a futures::oneshot channel, and the job queue informs the main loop that a job is finished using a crossbeam::channel.