diff options
author | dzwdz | 2021-08-22 13:06:26 +0200 |
---|---|---|
committer | dzwdz | 2021-08-22 13:06:26 +0200 |
commit | 6d8f2d0e93228a1aaecace14eb345fe1224b211f (patch) | |
tree | 0ebe732053873fe85a52b64b1af2cac0ed27dbc9 /src/kernel/proc.h | |
parent | 374e6d244f184056d64fd02729a7badf02991e29 (diff) |
process_switch_any: deduplicate some code
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 1 |
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); |