#include <urcu/compiler.h>
#include <urcu/arch.h>
+#include <urcu/uatomic_arch.h>
+#include <urcu/list.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
* Number of entries in the per-thread defer queue. Must be power of 2.
unsigned long tail; /* next element to remove at tail */
void *last_fct_out; /* last fct pointer encoded */
void **q;
+ /* registry information */
+ unsigned long last_head;
+ struct list_head list; /* list of thread queues */
};
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _URCU_DEFER_STATIC_H */