| plan 9 kernel history: overview | file list | diff list |
1991/0425/port/proc.c (diff list | history)
| 1991/0425/sys/src/9/port/proc.c:60,71 – 1991/0430/sys/src/9/port/proc.c:60,72 (short | long | prev | next) | ||
|
Something about pidonmach and locking XXX.
Handle case where process disappears during postnote.
rsc Mon Mar 20 17:14:09 2006 | ||
| 1990/0227 | ready(p); else if(p->state == Moribund){ p->pid = 0; | |
| 1991/0430 | memset(p->pidonmach, 0, sizeof p->pidonmach); | |
| 1990/0227 | /* procalloc already locked */ p->qnext = procalloc.free; procalloc.free = p; | |
| 1991/0430 | p->upage->ref--; | |
| 1990/0227 | p->upage = 0; | |
| 1991/0430 | unlock(&p->debug); | |
| 1990/0227 | unlock(&procalloc); p->state = Dead; } | |
| 1991/0425/sys/src/9/port/proc.c:334,339 – 1991/0430/sys/src/9/port/proc.c:335,343 | ||
| 1991/0425 | ||
| 1990/0227 | if(dolock) lock(&p->debug); | |
| 1991/0430 | if(p->upage == 0) errors("noted process disappeared"); | |
| 1991/0425 | ||
| 1991/0109 | if(p != u->p){ k = kmap(p->upage); | |