X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fthread%2F__lock.c;fp=src%2Fthread%2F__lock.c;h=21c85fc0636f71f6eb715459590f78ec4e0aaac5;hp=2e00636f08e8ff80aea0eabddee4972c01e8b9fe;hb=6232b96f5153d0b718054a8bc569fcd7d596bab2;hpb=0e1762539c2ad359ba10502cdfb750b5afd2329e diff --git a/src/thread/__lock.c b/src/thread/__lock.c index 2e00636f..21c85fc0 100644 --- a/src/thread/__lock.c +++ b/src/thread/__lock.c @@ -2,7 +2,7 @@ void __lock(volatile int *l) { - int spins=100000; + int spins=10000; /* Do not use futexes because we insist that unlocking is a simple * assignment to optimize non-pathological code with no contention. */ while (a_xchg(l, 1))