diff options
author | dzwdz | 2023-09-13 00:05:06 +0200 |
---|---|---|
committer | dzwdz | 2023-09-13 00:05:06 +0200 |
commit | c9fbab701ff57583733c84fa93889eacf422b861 (patch) | |
tree | 7a15a77a97d7965782fb81c80f9536f5d1911f3b /src/kernel/proc.h | |
parent | 1e54db260811d0d759e76be725d50f4b59d0fc41 (diff) |
cmd/init: remove /initctl, use intr instead
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r-- | src/kernel/proc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h index 15da852..bfe5cfc 100644 --- a/src/kernel/proc.h +++ b/src/kernel/proc.h @@ -119,6 +119,10 @@ void proc_filicide(Proc *proc, int ret); /** Tries to reap a dead process / free a tombstone. */ void proc_tryreap(Proc *dead); +/** Try to interrupt whatever the process is doing instead of PS_RUNNING. */ +void proc_tryintr(Proc *p); + +/** Send an interupt to a process. */ void proc_intr(Proc *proc); /** Switches execution to any running process. */ |