initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
diff --git a/src/xshmfence_futex.h b/src/xshmfence_futex.h
index 8a6dae0..673ac0e 100644
--- a/src/xshmfence_futex.h
+++ b/src/xshmfence_futex.h
@@ -26,21 +26,7 @@
#include <errno.h>
-#ifdef HAVE_FUTEX
-
-#include <sys/time.h>
-#include <sys/futex.h>
-#include <limits.h>
-
-static inline int futex_wake(int32_t *addr) {
- return futex(addr, FUTEX_WAKE, INT_MAX, NULL, NULL);
-}
-
-static inline int futex_wait(int32_t *addr, int32_t value) {
- return futex(addr, FUTEX_WAIT, value, NULL, NULL);
-}
-
-#elif HAVE_UMTX
+#ifdef HAVE_UMTX
#include <sys/types.h>
#include <sys/umtx.h>