summaryrefslogtreecommitdiff
path: root/src/thread
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-02-09 22:11:52 +0100
committerSzabolcs Nagy <nsz@port70.net>2015-02-09 22:11:52 +0100
commit339cc250f6dda06e7a26fcbcc66e3a1bbec2b494 (patch)
treeedc91da67da9ab9547ce0e5ba98e425135cc5b75 /src/thread
parentf3f29795da461905a5e9f0314dc0d7840bd75c3f (diff)
downloadmusl-339cc250f6dda06e7a26fcbcc66e3a1bbec2b494.tar.gz
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')
-rw-r--r--src/thread/__wait.c2
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;