diff options
author | rsc <devnull@localhost> | 2004-12-25 21:57:50 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-12-25 21:57:50 +0000 |
commit | 619085f0b4a85104ef6c7496f9ce1f46e9b17c82 (patch) | |
tree | 9959c15a14c44e8c8fe38f78bbcbbb576d23b2aa /src/libthread/ioproc.h | |
parent | 1544f90960275dc9211bde30329c3258e0e1bf38 (diff) | |
download | plan9port-619085f0b4a85104ef6c7496f9ce1f46e9b17c82.tar.gz plan9port-619085f0b4a85104ef6c7496f9ce1f46e9b17c82.tar.bz2 plan9port-619085f0b4a85104ef6c7496f9ce1f46e9b17c82.zip |
more new libthread
Diffstat (limited to 'src/libthread/ioproc.h')
-rw-r--r-- | src/libthread/ioproc.h | 14 |
1 files changed, 14 insertions, 0 deletions
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; +}; + |