tgo back to 1000 scheds - 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 815552b9ed41df2f20892f6467dd47f91f93aca1
(DIR) parent bb426e77f62a2f190de7e8d63ceb2e13e17194d4
(HTM) Author: rsc <devnull@localhost>
Date: Thu, 6 Jan 2005 23:13:56 +0000
go back to 1000 scheds
Diffstat:
M src/libthread/Linux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/libthread/Linux.c b/src/libthread/Linux.c
t@@ -43,7 +43,7 @@ if(first) {first=0; fmtinstall('T', timefmt);}
return 0;
/* a thousand times pretty fast */
- for(i=0; i<10*1000; i++){
+ for(i=0; i<1000; i++){
if(!_tas(&l->held))
return 1;
sched_yield();