diff options
author | Szabolcs Nagy <nsz@port70.net> | 2015-02-09 22:11:52 +0100 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2015-02-09 22:11:52 +0100 |
commit | 339cc250f6dda06e7a26fcbcc66e3a1bbec2b494 (patch) | |
tree | edc91da67da9ab9547ce0e5ba98e425135cc5b75 /src/thread/__wait.c | |
parent | f3f29795da461905a5e9f0314dc0d7840bd75c3f (diff) | |
download | musl-339cc250f6dda06e7a26fcbcc66e3a1bbec2b494.tar.gz musl-339cc250f6dda06e7a26fcbcc66e3a1bbec2b494.tar.bz2 musl-339cc250f6dda06e7a26fcbcc66e3a1bbec2b494.tar.xz musl-339cc250f6dda06e7a26fcbcc66e3a1bbec2b494.zip |
use the internal macro name FUTEX_PRIVATE in __wait
the name was recently added for the setxid/synccall rework,
so use the name now that we have it.
Diffstat (limited to 'src/thread/__wait.c')
-rw-r--r-- | src/thread/__wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/__wait.c b/src/thread/__wait.c index 01ee5982..dc33c1a3 100644 --- a/src/thread/__wait.c +++ b/src/thread/__wait.c @@ -3,7 +3,7 @@ void __wait(volatile int *addr, volatile int *waiters, int val, int priv) { int spins=100; - if (priv) priv = 128; + if (priv) priv = FUTEX_PRIVATE; while (spins-- && (!waiters || !*waiters)) { if (*addr==val) a_spin(); else return; |