boostorg / boostorg/thread

CPU Affinity support

Open
#319 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
214
Forks
171
PR merge metrics
No merged PRs in 30d

Description

Recent _"Best practice"_ in embedded Linux and VxWorks to achieve **deterministic** results for critical functionality is to use "core reservation" at boot and take one or more CPUs out of the general pool of CPUs used for SMP scheduling.
Threads requiring determinism then use the platform dependent API schedule themselves on the reserved core. This is a request for a thread attribute that abstracts the platform specific API for affinity as part of boost::thread (not hidden in the coroutine2 benchmarking ) https://github.com/boostorg/coroutine2/tree/develop/performance

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.