aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-14 19:47:50 -0700
committerChristian Cunningham <cc@localhost>2022-02-14 19:47:50 -0700
commit5827115cd4a993414dd41bb7d3af699408f875a8 (patch)
tree769757ce9e7b260c0ed5a052e99ae21463190f98 /include
parent30956118f25ae50e8427c75bb1776d9580a98cf7 (diff)
Fixed priority inversion protection
Diffstat (limited to 'include')
-rw-r--r--include/sys/schedule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index 798786d..a76b52b 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -33,6 +33,7 @@ struct Thread {
unsigned char preempt;
unsigned short status;
void* mptr;
+ unsigned char old_priority;
};
struct ThreadRotBuffer {