[riot-notifications] [RIOT-OS/RIOT] [PoC] core: remove "volatile" from scheduler variables. (#11073)

Kees Bakker notifications at github.com
Sun Mar 17 19:43:50 CET 2019


What's our thought on this one?
```
volatile thread_t *thread_get(kernel_pid_t pid);
```
Can we drop `volatile` here too? I think we can. And if we do, we can remove a few casts in the process, like this one
```
cpu/kinetis/periph/i2c.c:461:    thread_flags_set((thread_t *)thread_get(pid), THREAD_FLAG_KINETIS_I2C);
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11073#issuecomment-473698839
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190317/1df598d0/attachment.html>


More information about the notifications mailing list