[riot-notifications] [RIOT] core mutex: use ATOMIC_VALUE for debug output (#3858)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications