aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-27 19:12:56 +0000
committerrsc <devnull@localhost>2004-12-27 19:12:56 +0000
commit1d011ae24253c07be37d9b765d68405df993ea32 (patch)
treeafeff88d4853b11e4f235100d0903f8c8964d592 /include
parent8cbd854a8ab2c4f8c738c5bea5263217cb892a77 (diff)
downloadplan9port-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.h2
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);