summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
authordzwdz2021-09-04 18:17:35 +0200
committerdzwdz2021-09-04 18:17:35 +0200
commitc4531fa5e1aa16b7ba74de2975eadf06b3052b78 (patch)
tree7538d728e7828bc3661052c6a181d8f365fc3df7 /src/kernel/proc.h
parent400f218cdad6bceaed9843d4d44ab66593da591a (diff)
refactor finding empty handles to a function
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h1
1 files changed, 1 insertions, 0 deletions
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