diff options
author | dzwdz | 2022-07-09 20:47:13 +0200 |
---|---|---|
committer | dzwdz | 2022-07-09 20:47:13 +0200 |
commit | fff36661c92f30685e2d83825a11b67ad8921a0e (patch) | |
tree | 7711025c8ad988e48a5925c546151e6c1cfa96fe /src/kernel/proc.c | |
parent | fcfb57c12ce4544017098092a66f8427584c1879 (diff) |
kernel/pipes: process queueing
Diffstat (limited to 'src/kernel/proc.c')
-rw-r--r-- | src/kernel/proc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/kernel/proc.c b/src/kernel/proc.c index c69cb14..86170aa 100644 --- a/src/kernel/proc.c +++ b/src/kernel/proc.c @@ -116,6 +116,9 @@ void process_kill(struct process *p, int ret) { if (p->state == PS_WAITS4FS) p->waits4fs.req->caller = NULL; + if (p->state == PS_WAITS4PIPE) + panic_unimplemented(); + for (handle_t h = 0; h < HANDLE_MAX; h++) handle_close(p->handles[h]); |