提交 339cc250 编写于 作者: S Szabolcs Nagy

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.
上级 f3f29795
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册