go back to 1000 scheds

This commit is contained in:
rsc 2005-01-06 23:13:56 +00:00
parent bb426e77f6
commit 815552b9ed

View file

@ -43,7 +43,7 @@ if(first) {first=0; fmtinstall('T', timefmt);}
return 0; return 0;
/* a thousand times pretty fast */ /* a thousand times pretty fast */
for(i=0; i<10*1000; i++){ for(i=0; i<1000; i++){
if(!_tas(&l->held)) if(!_tas(&l->held))
return 1; return 1;
sched_yield(); sched_yield();