From c4531fa5e1aa16b7ba74de2975eadf06b3052b78 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 4 Sep 2021 18:17:35 +0200 Subject: refactor finding empty handles to a function --- src/kernel/proc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/proc.h') diff --git a/src/kernel/proc.h b/src/kernel/proc.h index ed7c656..447dac8 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -43,3 +43,4 @@ _Noreturn void process_switch(struct process *proc); _Noreturn void process_switch_any(void); // switches to any running process struct process *process_find(enum process_state); +handle_t process_find_handle(struct process *proc); // finds the first free handle -- cgit v1.2.3