Commit Diff


commit - 8cbd854a8ab2c4f8c738c5bea5263217cb892a77
commit + 1d011ae24253c07be37d9b765d68405df993ea32
blob - e1ec96c4908510146bf4ec90a6309f42631f0602
blob + 7ba96e6730cbc0efe96cc0b2174f9819416ad41d
--- include/thread.h
+++ 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);