Fix scheduler starvation, use lists for scheduling
All checks were successful
Build documentation / build-and-deploy (push) Successful in 33s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 33s
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#ifndef _KERNEL_PROC_SUSPENTION_Q_H
|
||||
#define _KERNEL_PROC_SUSPENTION_Q_H
|
||||
|
||||
#include <libk/rbtree.h>
|
||||
#include <libk/list.h>
|
||||
#include <sync/spin_lock.h>
|
||||
|
||||
struct proc_suspension_q {
|
||||
struct rb_node_link* proc_tree;
|
||||
struct list_node_link* proc_list;
|
||||
spin_lock_t lock;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user