From 815552b9ed41df2f20892f6467dd47f91f93aca1 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 6 Jan 2005 23:13:56 +0000 Subject: go back to 1000 scheds --- src/libthread/Linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/libthread/Linux.c b/src/libthread/Linux.c index d8cd16e3..85003c29 100644 --- a/src/libthread/Linux.c +++ b/src/libthread/Linux.c @@ -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(); -- cgit v1.2.3