commit 1d011ae24253c07be37d9b765d68405df993ea32
parent 8cbd854a8ab2c4f8c738c5bea5263217cb892a77
Author: rsc <devnull@localhost>
Date: Mon, 27 Dec 2004 19:12:56 +0000
yield now returns the number of switches done
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);