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

Karl Fessel notifications at github.com
Fri Apr 9 10:22:17 CEST 2021


@kfessel commented on this pull request.



> @@ -82,7 +82,7 @@ void sched_runq_callback(uint8_t prio)
     }
 
     if (_current_rr_priority == prio) {
-        if (sched_runqueue_len2(prio) == 0) {
+        if (sched_runqueue_is_empty(prio)) {

the new version needs 4 extra bytes (native) the (starting with -Og sched_runqueue_len2(prio) == 0 got optimized quiet well) (i only tested gcc) 

-- 
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_r610441049
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210409/55778fb4/attachment.htm>


More information about the notifications mailing list