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

Juan I Carrano notifications at github.com
Tue Mar 19 12:19:57 CET 2019


jcarrano 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;

Would it be an abuse to make  `thread_get(KERNEL_PID_UNDEF)` get the current thread?

-- 
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_r266838473
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190319/92b744ca/attachment.html>


More information about the notifications mailing list