https://github.com/muellan/parallel
parallel programming primitives for C++; pausable thread, task_queue, etc.
https://github.com/muellan/parallel
cpp cpp11 parallel parallel-programming-primitives task-queue threadpool
Last synced: 2 months ago
JSON representation
parallel programming primitives for C++; pausable thread, task_queue, etc.
- Host: GitHub
- URL: https://github.com/muellan/parallel
- Owner: muellan
- License: mit
- Created: 2016-09-22T12:36:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T18:53:57.000Z (about 5 years ago)
- Last Synced: 2025-03-29T11:11:19.253Z (3 months ago)
- Topics: cpp, cpp11, parallel, parallel-programming-primitives, task-queue, threadpool
- Language: C++
- Homepage:
- Size: 23.4 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AM parallel
==========Header-only parallel programming primitives for C++14.
The repo also includes some examples.
## Classes
#### task\_thread
- pausable thread
- basis for parallel\_task\_queue#### parallel\_executor
- runs a batch of tasks in parallel
- works on task iterators, doesn't own tasks
- forwards call args to all tasks
- blocks calling thread until all tasks are finished#### parallel\_task\_queue
- runs tasks in parallel
- enqueue & run can interleave
- owns tasks## Requirements
- requires (mostly) C++14 conforming compiler
- tested with g++ {5.3, 7.2}