From 1d011ae24253c07be37d9b765d68405df993ea32 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 27 Dec 2004 19:12:56 +0000 Subject: yield now returns the number of switches done --- include/thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3