public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
699ee10
)
process: don't wake zombies, it ends badly even if you have a shotgun
author
Alan Cox
<alan@linux.intel.com>
Mon, 18 May 2015 22:11:50 +0000
(23:11 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 18 May 2015 22:11:50 +0000
(23:11 +0100)
Kernel/process.c
patch
|
blob
|
history
diff --git
a/Kernel/process.c
b/Kernel/process.c
index
0388f1c
..
c7b866f
100644
(file)
--- a/
Kernel/process.c
+++ b/
Kernel/process.c
@@
-77,7
+77,7
@@
void wakeup(void *event)
void pwake(ptptr p)
{
- if (p->p_status > P_RUNNING) {
+ if (p->p_status > P_RUNNING
&& p->p_status < P_FORKING
) {
p->p_status = P_READY;
p->p_wait = NULL;
nready++;