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

Karl Fessel notifications at github.com
Thu Apr 8 15:40:59 CEST 2021


@kfessel commented on this pull request.



> + *          function has to be provided by the user of this API
+ *          it will be called: when the scheduler is run,
+ *                             when a thread enters the active queue or
+ *                             when the last thread leaves a queue
+ *
+ * @param   prio      the priority of the runqueue that changed
+ *
+ * @warning This API is not intended for out of tree users.
+ *          Breaking API changes will be done without notice and
+ *          without deprecation. Consider yourself warned!
+ */
+extern void sched_runq_callback(uint8_t prio);
+#endif
+
+/**
+ * @brief   round robin a runqueue

maybe i am wrong in that view and thread.c should not touch `sched.c`s runqueues (make the not be friends in C++ pov)

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


More information about the notifications mailing list