[riot-notifications] [RIOT-OS/RIOT] core/rmutex: use atomic utils (#16919)

Marian Buschsieweke notifications at github.com
Thu Sep 30 11:01:41 CEST 2021

### Contribution description

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.

### Testing procedure

`tests/rmutex` should still pass

### Issues/PRs references

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * <a href="https://github.com/RIOT-OS/RIOT/pull/16919/commits/508448566c371ee70b85e8d25c954b0966766815">core/rmutex: use atomic utils</a>

-- File Changes --

    M core/include/rmutex.h (9)
    M core/rmutex.c (15)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210930/58c15cf5/attachment.htm>

More information about the notifications mailing list