Module work_stealing

Module work_stealing 

Source
Expand description

Work Stealing Scheduler

This module implements a work-stealing scheduler for better load balancing across threads. Each thread has its own deque and can steal work from others.

Structs§

WorkStealingDeque
A work-stealing deque for task distribution
WorkStealingPool
Work-stealing thread pool

Functions§

work_stealing_map
Parallel map with work stealing