aboutsummaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-12 14:55:04 -0800
committerChristian Cunningham <cc@localhost>2022-03-12 14:55:04 -0800
commitb62c324bde267a5a940b1d06f44f62a125aef50d (patch)
treee961fecbe9c798b7ba79cea39be16c60e88a26c6 /src/sys
parentebefd4f80c4f50a4d90a002c5fbe9189c47647ae (diff)
Rapid Testing
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/schedule.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sys/schedule.c b/src/sys/schedule.c
index 9540d3d..287091c 100644
--- a/src/sys/schedule.c
+++ b/src/sys/schedule.c
@@ -202,7 +202,6 @@ void yield(void)
// thus any threads of the same priority can be run first
unsigned char priority = rthread->priority;
struct ThreadQueue* trq = &scheduler.ready[priority];
- trq->read.entry->thread = 0;
trq->read.entry = trq->read.entry->next;
trq->write.entry->thread = rthread;
trq->write.entry = trq->write.entry->next;