[riot-notifications] [RIOT-OS/RIOT] sys/sched_rr: Add a round robin scheduler module (#16126)

Karl Fessel notifications at github.com
Thu Apr 8 10:23:33 CEST 2021


@kfessel commented on this pull request.



> +    if (IS_USED(MODULE_SCHED_ROUND_ROBIN)) {
+        LOG_DEBUG("Auto init sched_round_robin.\n");
+        extern void sched_round_robin_init(void);
+        sched_round_robin_init();
+    }

afaik (asked in matrix) you aren't supposed to set*timers until the *timer is initialized also afaik threads are created before autoinit happens -> threads are created before *timer is initalised -> I need to guard that.

-- 
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/16126#discussion_r609442613
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210408/2d68efb8/attachment-0001.htm>


More information about the notifications mailing list