-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: move scheduler defines #15481
core: move scheduler defines #15481
Changes from all commits
369e9b3
1ca0c23
3a64324
7fa8b69
0b801c4
ba28bf8
3f0ea86
1c0560a
ff5a603
d6b6c0e
1711b4b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
From 51d973f2a0a04a716af8260c62fb5045356a30a5 Mon Sep 17 00:00:00 2001 | ||
From: Kaspar Schleiser <[email protected]> | ||
Date: Mon, 23 Nov 2020 12:44:54 +0100 | ||
Subject: [PATCH] adapt to moved kernel_pid_t location | ||
|
||
--- | ||
face-table.h | 2 +- | ||
ndn.h | 2 +- | ||
2 files changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/face-table.h b/face-table.h | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you do a PR to https://github.com/named-data-iot/ndn-riot as a follow-up? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should probably do the same for the other two patches in |
||
index 28b44a5c02..fb0c39b083 100644 | ||
--- a/face-table.h | ||
+++ b/face-table.h | ||
@@ -20,7 +20,7 @@ | ||
#ifndef NDN_FACE_TABLE_H_ | ||
#define NDN_FACE_TABLE_H_ | ||
|
||
-#include <kernel_types.h> | ||
+#include "sched.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
diff --git a/ndn.h b/ndn.h | ||
index d8d148c7f7..47d2032301 100644 | ||
--- a/ndn.h | ||
+++ b/ndn.h | ||
@@ -20,7 +20,7 @@ | ||
#ifndef NDN_H_ | ||
#define NDN_H_ | ||
|
||
-#include <kernel_types.h> | ||
+#include "sched.h" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
-- | ||
2.29.2 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What meaning do negative pids have?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's a KERNEL_PID_UNDEF that's -1? Anyhow, this is all copied and otherwise unchanged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You just moved
KERNEL_PID_UNDEF
😉It's 0 - so that's why I'm wondering what negative PIDs mean.