tyield now returns the number of switches done - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 1d011ae24253c07be37d9b765d68405df993ea32
 (DIR) parent 8cbd854a8ab2c4f8c738c5bea5263217cb892a77
 (HTM) Author: rsc <devnull@localhost>
       Date:   Mon, 27 Dec 2004 19:12:56 +0000
       
       yield now returns the number of switches done
       
       Diffstat:
         M include/thread.h                    |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/include/thread.h b/include/thread.h
       t@@ -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);