tblock instead of chewing cpu in eread (Lu Xuxiao) - 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 33da33e72b521a535b526cfdc880ce64381ba0cb
 (DIR) parent 9a5678a8a95c46913c15a5fc19f73c113e8ed036
 (HTM) Author: rsc <devnull@localhost>
       Date:   Sun,  5 Nov 2006 14:43:52 +0000
       
       block instead of chewing cpu in eread (Lu Xuxiao)
       
       Diffstat:
         M src/libdraw/event.c                 |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/libdraw/event.c b/src/libdraw/event.c
       t@@ -92,7 +92,7 @@ eread(ulong keys, Event *e)
                                        }
                                        return id;
                                }
       -                extract(0);
       +                extract(1);
                }
                return 0;
        }