/task_system

Task System presented in "Better Code: Concurrency - Sean Parent"

Primary LanguageC++MIT LicenseMIT

task_system

task_system provides a task scheduler for modern C++.

  • The scheduler manages an array of concurrent queues
  • A task, when scheduled, is enqueued onto one of queues
  • A pool of threads executes ready tasks, potentially stealing tasks for each other's queues

Reference