diff options
Diffstat (limited to 'src/libthread/threadimpl.h')
-rw-r--r-- | src/libthread/threadimpl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 851186e3..d6a23905 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -95,6 +95,8 @@ struct Thread Chanstate chan; /* which channel operation is current */ Alt *alt; /* pointer to current alt structure (debugging) */ ulong userpc; + Channel *c; + pthread_cond_t cond; void* udata[NPRIV]; /* User per-thread data pointer */ int lastfd; @@ -136,6 +138,8 @@ struct Proc uint nextID; /* ID of most recently created thread */ Proc *next; /* linked list of Procs */ + _Procrend rend; /* sleep here for more ready threads */ + void *arg; /* passed between shared and unshared stk */ char str[ERRMAX]; /* used by threadexits to avoid malloc */ char errbuf[ERRMAX]; /* errstr */ |