various changes from plan 9

This commit is contained in:
rsc 2004-12-27 00:14:43 +00:00
parent e1dc7e4511
commit 678ede7e54
5 changed files with 20 additions and 3 deletions

View file

@ -13,11 +13,13 @@ void threadexits(char *);
void threadexitsall(char *);
void threadsetname(char*, ...);
void threadsetstate(char*, ...);
void threadyield(void);
void _threadready(_Thread*);
void _threadswitch(void);
void _threadsetsysproc(void);
void _threadsleep(Rendez*);
_Thread *_threadwakeup(Rendez*);
#define yield threadyield
/*
* per proc and thread data