| commit | 815552b9ed41df2f20892f6467dd47f91f93aca1 | [log] [tgz] |
|---|---|---|
| author | rsc <devnull@localhost> | Thu Jan 06 23:13:56 2005 +0000 |
| committer | rsc <devnull@localhost> | Thu Jan 06 23:13:56 2005 +0000 |
| tree | 25b4c30d685ff1137f67c2631165da9c5e1b0f78 | |
| parent | bb426e77f62a2f190de7e8d63ceb2e13e17194d4 [diff] |
go back to 1000 scheds
diff --git a/src/libthread/Linux.c b/src/libthread/Linux.c index d8cd16e..85003c2 100644 --- a/src/libthread/Linux.c +++ b/src/libthread/Linux.c
@@ -43,7 +43,7 @@ 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();