[riot-notifications] [RIOT-OS/RIOT] [PoC] core: remove "volatile" from scheduler variables. (#11073)
notifications at github.com
Mon Mar 18 10:25:13 CET 2019
kaspar030 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;
> One could use `thread_get(thread_getpid())`, but would be less efficient. Maybe anothrr static inline function should be added for that use case?
+1 for another function. Maybe ```thread_get_current()```? That would be a nice PR of its own.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications