Futex: turn "int" into "int32_t" for portability
[urcu.git] / urcu / static / urcu-qsbr.h
index e0b12be15c2ebdf540446dbbaa16cdce8ff5f4fe..a9f4d8b264835afab0442a7f304bc91e11f077b4 100644 (file)
 #include <limits.h>
 #include <syscall.h>
 #include <unistd.h>
+#include <stdint.h>
 
 #include <urcu/compiler.h>
 #include <urcu/arch.h>
 #include <urcu/system.h>
-#include <urcu/uatomic_arch.h>
+#include <urcu/uatomic.h>
 #include <urcu/list.h>
-#include <urcu/urcu-futex.h>
+#include <urcu/futex.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -141,7 +142,7 @@ struct rcu_reader {
 
 extern struct rcu_reader __thread rcu_reader;
 
-extern int gp_futex;
+extern int32_t gp_futex;
 
 /*
  * Wake-up waiting synchronize_rcu(). Called from many concurrent threads.
This page took 0.023097 seconds and 4 git commands to generate.