go back to 1000 scheds
This commit is contained in:
parent
bb426e77f6
commit
815552b9ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue