Helpers for running work across a pool of worker threads.

Types

Name

Description

PerThreadAllocator

Concurrent wrapper that gives each thread its own sub‐allocator.

TaskGroup

Group of tasks that may run in parallel; destructor waits for completion.

Type Aliases

Name

Description

PerThreadBumpPtrAllocator

Per‐thread bump‐pointer allocator for lock‐free concurrent allocation.

Functions

Name

Description

getThreadCount

Return the number of worker threads used by the parallel executor.

Variables

Name

Description

strategy

Default thread‐pool strategy used by the parallel helpers in this header.

Created with MrDocs