Module thread_pool

Source
Expand description

Thread pool that joins all thread when dropped.

Structsยง

Job ๐Ÿ”’
ThreadPool
Thread pool.
ThreadPoolInner ๐Ÿ”’
Internal data structure for tracking the current job status. This is shared by worker closures via Arc so that the workers can report to the pool that it started/finished a job.
Worker ๐Ÿ”’