diff options
author | rsc <devnull@localhost> | 2004-12-27 19:12:56 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-12-27 19:12:56 +0000 |
commit | 1d011ae24253c07be37d9b765d68405df993ea32 (patch) | |
tree | afeff88d4853b11e4f235100d0903f8c8964d592 /include | |
parent | 8cbd854a8ab2c4f8c738c5bea5263217cb892a77 (diff) | |
download | plan9port-1d011ae24253c07be37d9b765d68405df993ea32.tar.gz plan9port-1d011ae24253c07be37d9b765d68405df993ea32.tar.bz2 plan9port-1d011ae24253c07be37d9b765d68405df993ea32.zip |
yield now returns the number of switches done
Diffstat (limited to 'include')
-rw-r--r-- | include/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/thread.h b/include/thread.h index e1ec96c4..7ba96e67 100644 --- a/include/thread.h +++ b/include/thread.h @@ -13,7 +13,7 @@ void threadexits(char *); void threadexitsall(char *); void threadsetname(char*, ...); void threadsetstate(char*, ...); -void threadyield(void); +int threadyield(void); void _threadready(_Thread*); void _threadswitch(void); void _threadsetsysproc(void); |