From 339cc250f6dda06e7a26fcbcc66e3a1bbec2b494 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Mon, 9 Feb 2015 22:11:52 +0100 Subject: [PATCH] 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. --- src/thread/__wait.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1