Skip to main content

Module thread_pool

Module thread_pool 

Source
Expand description

Enhanced thread pool with work-stealing deques and advanced features

This module provides a high-performance thread pool implementation with:

  • Work-stealing deques per thread for efficient load distribution
  • Thread affinity and CPU pinning support
  • Adaptive thread count based on workload
  • Priority-based task scheduling
  • Task dependency management

Structs§

PoolTask
Task with metadata
ThreadPool
Enhanced thread pool with work-stealing and advanced features
ThreadPoolConfig
Thread pool configuration
ThreadPoolStats
Thread pool statistics

Enums§

Priority
Task priority levels