[][src]Module kayrx::util::threadpool

Thread pool for blocking operations

Structs

Builder

ThreadPool factory, which can be used in order to configure the properties of the ThreadPool.

CpuFuture

Blocking operation completion future. It resolves with results of blocking function execution.

ThreadPool

Abstraction of a thread pool for basic parallelism.

Enums

BlockingError

Blocking operation execution error

Functions

run

Execute blocking function on a thread pool, returns future that resolves to result of the function execution.