From 619085f0b4a85104ef6c7496f9ce1f46e9b17c82 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 25 Dec 2004 21:57:50 +0000 Subject: more new libthread --- src/libthread/ioproc.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/libthread/ioproc.h (limited to 'src/libthread/ioproc.h') diff --git a/src/libthread/ioproc.h b/src/libthread/ioproc.h new file mode 100644 index 00000000..f3a488d3 --- /dev/null +++ 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; +}; + -- cgit v1.2.3