Expand description
Utilities for compute-heavy tasks which need to be run in parallel.
Structs§
- Resource
Handle - A handle to an instance of a resource created by
Resource::try_create
. When this value is dropped, the underlying resource returns to the owningResourcePool
. - Resource
Pool - An unbounded pool of on-demand generated resources. This is useful when distributing work across threads which needs access to an expensive-to-build context.
Traits§
- Resource
- A factory which produces a resource for use with
ResourcePool
.