diff options
author | rsc <devnull@localhost> | 2004-12-27 00:14:43 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-12-27 00:14:43 +0000 |
commit | 678ede7e54bf508991380c0f896fed6005b87ce9 (patch) | |
tree | b19e4111f436df000d84031585beaabb6539c110 /include/thread.h | |
parent | e1dc7e4511d4644060d4904dcae50808d966fff7 (diff) | |
download | plan9port-678ede7e54bf508991380c0f896fed6005b87ce9.tar.gz plan9port-678ede7e54bf508991380c0f896fed6005b87ce9.tar.bz2 plan9port-678ede7e54bf508991380c0f896fed6005b87ce9.zip |
various changes from plan 9
Diffstat (limited to 'include/thread.h')
-rw-r--r-- | include/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/thread.h b/include/thread.h index 8dbabe61..c8f00340 100644 --- a/include/thread.h +++ b/include/thread.h @@ -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 |