starting to work on Linux

This commit is contained in:
rsc 2004-12-27 18:21:58 +00:00
parent e127e40bb1
commit 955a2ca78d
5 changed files with 80 additions and 19 deletions

View file

@ -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);