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

Kees Bakker notifications at github.com
Sun Mar 17 18:18:34 CET 2019


keestux commented on this pull request.



> @@ -413,7 +413,7 @@ int thread_wakeup(kernel_pid_t pid);
  */
 static inline kernel_pid_t thread_getpid(void)
 {
-    extern volatile kernel_pid_t sched_active_pid;
+    extern kernel_pid_t sched_active_pid;

Why is this extern declaration needed anyway? We do include sched.h ...

-- 
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#pullrequestreview-215365837
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190317/738296cf/attachment-0001.html>


More information about the notifications mailing list