Return to midi.c CVS log | Up to [local] / src / usr.bin / aucat |
version 1.14, 2010/01/10 21:47:41 | version 1.15, 2010/01/16 23:18:31 | ||
---|---|---|---|
|
|
||
{ | { | ||
if (!(p->flags & APROC_QUIT)) | if (!(p->flags & APROC_QUIT)) | ||
return; | return; | ||
if (LIST_EMPTY(&p->obuflist) || LIST_EMPTY(&p->ibuflist)) | if (LIST_EMPTY(&p->ibuflist)) | ||
aproc_del(p); | aproc_del(p); | ||
} | } | ||
void | void | ||
thru_hup(struct aproc *p, struct abuf *obuf) | thru_hup(struct aproc *p, struct abuf *obuf) | ||
{ | { | ||
if (!(p->flags & APROC_QUIT)) | |||
return; | |||
if (LIST_EMPTY(&p->obuflist) || LIST_EMPTY(&p->ibuflist)) | |||
aproc_del(p); | |||
} | } | ||
void | void |