[riot-notifications] [RIOT-OS/RIOT] core: move scheduler defines (#15481)

benpicco notifications at github.com
Mon Nov 23 17:08:43 CET 2020


@benpicco commented on this pull request.



> +#define KERNEL_PID_FIRST (KERNEL_PID_UNDEF + 1)
+
+/**
+ * The last valid PID (inclusive).
+ */
+#define KERNEL_PID_LAST (KERNEL_PID_FIRST + MAXTHREADS - 1)
+
+/**
+ * Macro for printing formatter
+ */
+#define PRIkernel_pid PRIi16
+
+/**
+ * Unique process identifier
+ */
+typedef int16_t kernel_pid_t;

What meaning do negative pids have?

-- 
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/15481#pullrequestreview-536623057
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201123/85e12ac7/attachment.htm>


More information about the notifications mailing list