summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
authordzwdz2021-08-22 13:06:26 +0200
committerdzwdz2021-08-22 13:06:26 +0200
commit6d8f2d0e93228a1aaecace14eb345fe1224b211f (patch)
tree0ebe732053873fe85a52b64b1af2cac0ed27dbc9 /src/kernel/proc.h
parent374e6d244f184056d64fd02729a7badf02991e29 (diff)
process_switch_any: deduplicate some code
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 2f39f2e..c2dfde4 100644
--- a/src/kernel/proc.h
+++ b/src/kernel/proc.h
@@ -34,5 +34,6 @@ extern struct process *process_current;
struct process *process_seed();
struct process *process_fork(struct process *parent);
_Noreturn void process_switch(struct process *proc);
+_Noreturn void process_switch_any(); // switches to any running process
struct process *process_find(enum process_state);