yield now returns the number of switches done

This commit is contained in:
rsc 2004-12-27 19:12:56 +00:00
parent 8cbd854a8a
commit 1d011ae242

View file

@ -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);