diff options
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]); |