Module Name: src
Committed By: christos
Date: Sat Jan 18 20:54:09 UTC 2025
Modified Files:
src/external/lgpl2/userspace-rcu/dist/include/urcu: futex.h
Log Message:
disable futexes for now.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/lgpl2/userspace-rcu/dist/include/urcu/futex.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/lgpl2/userspace-rcu/dist/include/urcu/futex.h
diff -u src/external/lgpl2/userspace-rcu/dist/include/urcu/futex.h:1.2 src/external/lgpl2/userspace-rcu/dist/include/urcu/futex.h:1.3
--- src/external/lgpl2/userspace-rcu/dist/include/urcu/futex.h:1.2 Fri Jan 17 11:07:26 2025
+++ src/external/lgpl2/userspace-rcu/dist/include/urcu/futex.h Sat Jan 18 15:54:09 2025
@@ -37,7 +37,7 @@
# include <sys/time.h>
# include <sys/futex.h>
-#elif defined(__NetBSD__) && defined(SYS___futex)
+#elif defined(__NetBSD__) && defined(SYS___futex) && 0
# include <unistd.h>
# include <sys/time.h>
@@ -206,12 +206,12 @@ static inline int futex_async(int32_t *u
return ret;
}
-#elif defined(__NetBSD__) && defined(SYS___futex)
+#elif defined(__NetBSD__) && defined(SYS___futex) && 0
static inline int futex(int32_t *uaddr, int op, int32_t val,
const struct timespec *timeout, int32_t *uaddr2, int32_t val3)
{
- return syscall(SYS___futex, uaddr, op, val, timeout, uaddr2, 0, val3);
+ return _syscall(SYS___futex, uaddr, op, val, timeout, uaddr2, 0, val3);
}
static inline int futex_noasync(int32_t *uaddr, int op, int32_t val,