diff options
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) |