Module hotdrink_rs::thread[][src]

Thread pool traits and implementations.

Structs

DummyPool

A thread pool with no actual additional threads. It will execute the work on the main thread. Commonly used for testing and benchmarking.

TerminationHandle

As long as at least one clone of this handle exists, the termination flag for a worker is set to false.

Traits

ThreadPool

A trait for thread pool implementations.