commit ad6638adc744a21b2c424ab74e2df03b42bef0fc parent e7821682ea0105c74f00986131cf59b07d4966cc Author: rsc <devnull@localhost> Date: Thu, 23 Sep 2004 21:40:21 +0000 add this. Diffstat:
A | src/libthread/ioproc.h | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/libthread/ioproc.h b/src/libthread/ioproc.h @@ -0,0 +1,14 @@ +#define ioproc_arg(io, type) (va_arg((io)->arg, type)) + +struct Ioproc +{ + int tid; + Channel *c, *creply; + int inuse; + long (*op)(va_list*); + va_list arg; + long ret; + char err[ERRMAX]; + Ioproc *next; +}; +