Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add atomic #159

Merged
merged 1 commit into from
Oct 16, 2024
Merged

✨ Add atomic #159

merged 1 commit into from
Oct 16, 2024

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Oct 16, 2024

Problem:

  • Using std::atomic does not necessarily produce good codegen for microcontroller platforms.

Solution:

  • Add stdx::atomic which uses the customizable atomic interface from the baremetal concurrency library.

include/stdx/atomic.hpp Outdated Show resolved Hide resolved
include/stdx/atomic.hpp Outdated Show resolved Hide resolved
include/stdx/atomic.hpp Outdated Show resolved Hide resolved
include/stdx/atomic.hpp Outdated Show resolved Hide resolved
include/stdx/atomic.hpp Outdated Show resolved Hide resolved
Problem:
- Using `std::atomic` does not necessarily produce good codegen for
  microcontroller platforms.

Solution:
- Add `stdx::atomic` which uses the customizable atomic interface from the
  baremetal concurrency library.
@elbeno elbeno enabled auto-merge October 16, 2024 22:39
@elbeno elbeno merged commit a36370b into intel:main Oct 16, 2024
32 checks passed
@elbeno elbeno deleted the atomic branch October 16, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants