From 18a0fc3eb7e347c536bdb7b6e5e8218c12a6118b Mon Sep 17 00:00:00 2001 From: antifallobst Date: Tue, 2 May 2023 00:43:01 +0200 Subject: [PATCH] fix (scheduler): fixed PF when pausing the running thread --- src/proc/scheduler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proc/scheduler.c b/src/proc/scheduler.c index ef85f8c..b85751e 100644 --- a/src/proc/scheduler.c +++ b/src/proc/scheduler.c @@ -93,8 +93,8 @@ void scheduler_queue_remove_thread(thread_T* thread) { thread->global_prev->global_next = thread->global_next; thread->global_next->global_prev = thread->global_prev; - thread->global_prev = NULL; - thread->global_next = NULL; +// thread->global_prev = NULL; +// thread->global_next = NULL; } thread_T* scheduler_register_thread(thread_T* thread) {