Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/p-ranav/task_system
Task System presented in "Better Code: Concurrency - Sean Parent"
https://github.com/p-ranav/task_system
concurrency cpp header-only taskscheduler threading
Last synced: 30 days ago
JSON representation
Task System presented in "Better Code: Concurrency - Sean Parent"
- Host: GitHub
- URL: https://github.com/p-ranav/task_system
- Owner: p-ranav
- License: mit
- Created: 2019-12-03T13:58:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-20T01:25:06.000Z (about 4 years ago)
- Last Synced: 2024-08-04T03:03:19.666Z (4 months ago)
- Topics: concurrency, cpp, header-only, taskscheduler, threading
- Language: C++
- Size: 801 KB
- Stars: 40
- Watchers: 6
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hpp - task_system - ranav/task_system?style=social)](https://github.com/p-ranav/task_system/stargazers/) | Better Code: Concurrency - Sean Parent. | [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) | (Concurrency)
README
# 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
* **Video**: https://www.youtube.com/watch?v=zULU6Hhp42w
* **Presentation**: https://sean-parent.stlab.cc/presentations/2016-08-08-concurrency/2016-08-08-concurrency.pdf
* **Abstract**: Despite all of the recent interest, concurrency in standard C++ is still barely in its infancy. This talk uses the primitives supplied by C++14 to build a simple, reference, implementation of a task system. The goal is to learn to write software that doesn’t wait.