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

Marian Buschsieweke notifications at github.com
Sun Mar 17 21:09:17 CET 2019


maribu commented on this pull request.



> @@ -28,7 +28,7 @@
 #define THREAD_NUMOF            (5U)
 #define THREAD_FIRSTGROUP_NUMOF (3U)
 
-extern volatile thread_t *sched_active_thread;
+extern thread_t *sched_active_thread;

I think there is an API call for that which should be used instead of accessing the variable directly

-- 
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#discussion_r266256605
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190317/501b1f18/attachment.html>


More information about the notifications mailing list