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

core/rmutex: use atomic utils #16919

Merged
merged 2 commits into from
Feb 4, 2022
Merged

core/rmutex: use atomic utils #16919

merged 2 commits into from
Feb 4, 2022

Commits on Jan 5, 2022

  1. sys/atomic_utils: Add load/store for kernel PIDs

    This will make it easier to change the width of kernel_pid_t if needed
    without breaking code.
    maribu committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    20793fd View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2022

  1. core/rmutex: use atomic utils

    Replace use of C11 atomics with atomic utils. This fixes
    
    > error: address argument to atomic operation must be a pointer to a
    >        trivially-copyable type ('_Atomic(int) *' invalid)
    
    error when compiling on AVR with LLVM.
    maribu committed Jan 14, 2022
    Configuration menu
    Copy the full SHA
    b6b7065 View commit details
    Browse the repository at this point in the history