diff options
author | Christian Cunningham <cc@localhost> | 2022-03-23 11:32:34 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-03-23 11:32:34 -0700 |
commit | 48bc61ac76b82b1514ed4bf1d3dc7ba6cb2c991c (patch) | |
tree | 6a33cbb49e2677bf0aa05658121c33dc6f9fdcf5 /src/sys | |
parent | f6ff28ad8eb5e88a1985706bfc94657704e9c3f4 (diff) |
Qualitative Testing
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/schedule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/schedule.c b/src/sys/schedule.c index f54811d..9b6d46e 100644 --- a/src/sys/schedule.c +++ b/src/sys/schedule.c @@ -344,7 +344,7 @@ void c_cleanup(void) struct Thread* rt = scheduler.rthread; struct Entry* e = pop_thread_from_queue(THREAD_READY, rt->priority); // Add to free threads - prepend_to_queue(e, &scheduler.free_threads); + push_to_queue(e, &scheduler.free_threads); } void yield(void) |