diff options
| author | rsc <devnull@localhost> | 2004-12-27 18:21:58 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-12-27 18:21:58 +0000 |
| commit | 955a2ca78d7efc2787864e38a3d902df16fc2541 (patch) | |
| tree | 2767b679277c77550c9c993debff87c4761108cd /src/libthread/threadimpl.h | |
| parent | e127e40bb1327662a05f5b70dd1bbca5c69b042c (diff) | |
starting to work on Linux
Diffstat (limited to 'src/libthread/threadimpl.h')
| -rw-r--r-- | src/libthread/threadimpl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 9f0a53d5..6bc8cbfc 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -5,6 +5,8 @@ typedef struct Execjob Execjob; typedef struct Proc Proc; typedef struct _Procrendez _Procrendez; + + typedef struct Jmp Jmp; struct Jmp { @@ -88,6 +90,10 @@ struct Proc extern Proc *_threadprocs; extern Lock _threadprocslock; +extern Proc *_threadexecproc; +extern Channel *_threadexecchan; +extern QLock _threadexeclock; +extern Channel *_dowaitchan; extern void _procstart(Proc*, void (*fn)(Proc*)); extern _Thread *_threadcreate(Proc*, void(*fn)(void*), void*, uint); |