From 955a2ca78d7efc2787864e38a3d902df16fc2541 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 27 Dec 2004 18:21:58 +0000 Subject: starting to work on Linux --- src/libthread/threadimpl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/libthread/threadimpl.h') 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); -- cgit v1.2.3