various changes from plan 9
This commit is contained in:
parent
e1dc7e4511
commit
678ede7e54
5 changed files with 20 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue