plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 815552b9ed41df2f20892f6467dd47f91f93aca1
parent bb426e77f62a2f190de7e8d63ceb2e13e17194d4
Author: rsc <devnull@localhost>
Date:   Thu,  6 Jan 2005 23:13:56 +0000

go back to 1000 scheds

Diffstat:
Msrc/libthread/Linux.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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();