| plan 9 kernel history: overview | file list | diff list |
1993/0501/port/pgrp.c (diff list | history)
| 1993/0330/sys/src/9/port/pgrp.c:93,99 – 1993/0501/sys/src/9/port/pgrp.c:93,99 (short | long | prev | next) | ||
| 1991/1113 | l = &mh->hash; | |
| 1991/1011 | link = &mh->mount; for(m = f->mount; m; m = m->next) { | |
| 1993/0501 | n = newmount(mh, m->to, m->flag, m->spec); | |
| 1991/1011 | *link = n; link = &n->next; } | |
| 1993/0330/sys/src/9/port/pgrp.c:142,148 – 1993/0501/sys/src/9/port/pgrp.c:142,148 | ||
| 1992/0824 | Mount* | |
| 1993/0501 | newmount(Mhead *mh, Chan *to, int flag, char *spec) | |
| 1992/0824 | { Mount *m; | |
| 1993/0330/sys/src/9/port/pgrp.c:151,156 – 1993/0501/sys/src/9/port/pgrp.c:151,160 | ||
| 1992/0824 | m->head = mh; incref(to); m->mountid = incref(&mountid); | |
| 1993/0501 | m->flag = flag; if(spec != 0) strcpy(m->spec, spec); | |
| 1992/0824 | return m; } | |
| 1993/0330/sys/src/9/port/pgrp.c:162,167 – 1993/0501/sys/src/9/port/pgrp.c:166,172 | ||
| 1992/0705 | while(m) { f = m->next; close(m->to); | |
| 1993/0501 | m->mountid = 0; | |
| 1992/0705 | free(m); m = f; } | |
| 1993/0330/sys/src/9/port/pgrp.c:172,185 – 1993/0501/sys/src/9/port/pgrp.c:177,191 | ||
| 1992/0824 | { char *p; | |
| 1993/0501 | if(up == 0) panic("resrcwait"); p = up->psstate; | |
| 1992/0824 | if(reason) { | |
| 1993/0501 | up->psstate = reason; | |
| 1992/0824 | print("%s\n", reason); } | |
| 1992/1209 |
| |
| 1992/0824 |
| |
| 1993/0501 | tsleep(&up->sleep, return0, 0, 300); up->psstate = p; | |
| 1990/0227 | } | |