[riot-notifications] [RIOT-OS/RIOT] sys/sched_rr: Add a round robin scheduler module (#16126)
notifications at github.com
Thu Apr 8 12:43:42 CEST 2021
@kaspar030 commented on this pull request.
+ * @brief count the number of threads in a runqueue up to 2
+ * @param[in] prio the priority of the runqueue to get the length from
+ * @returns number of threads in a runqueue up to 2
+ * @retval 0 The runqueue is empty
+ * @retval 1 There is exactly one thread in the runqueue
+ * @retval 2 There are at least two threads in the runqueue
+ * @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!
+static inline uint_fast8_t sched_runqueue_len2(uint8_t prio)
there's no "count upto n" yet
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