Implement Mutexes and supporting syscalls, cleanup/optimize scheduler
All checks were successful
Build documentation / build-and-deploy (push) Successful in 39s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 39s
This commit is contained in:
12
kernel/proc/suspension_q.h
Normal file
12
kernel/proc/suspension_q.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _KERNEL_PROC_SUSPENTION_Q_H
|
||||
#define _KERNEL_PROC_SUSPENTION_Q_H
|
||||
|
||||
#include <libk/rbtree.h>
|
||||
#include <sync/spin_lock.h>
|
||||
|
||||
struct proc_suspension_q {
|
||||
struct rb_node_link* proc_tree;
|
||||
spin_lock_t lock;
|
||||
};
|
||||
|
||||
#endif // _KERNEL_PROC_SUSPENTION_Q_H
|
||||
Reference in New Issue
Block a user