[riot-notifications] [RIOT] core mutex: use ATOMIC_VALUE for debug output (#3858)

Joakim NohlgÄrd notifications at github.com
Wed Sep 16 10:13:05 CEST 2015


@kaspar030 `mutex->val` is of type `atomic_int_t`, which is a struct, the actual value needs to be accessed using either the `ATOMIC_VALUE` macro or access the counter variable directly (i.e. `mutex->val->val` or something similar).

The recommended way is to use the `ATOMIC_VALUE` macro.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3858#issuecomment-140664644
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150916/67d237ca/attachment.html>


More information about the notifications mailing list