#include <urcu/compiler.h>
#include <urcu/arch.h>
+#include <urcu/arch_uatomic.h>
#include <urcu/list.h>
/*
extern unsigned long urcu_gp_ctr;
struct urcu_reader {
+ /* Data used by both reader and synchronize_rcu() */
unsigned long ctr;
- struct list_head head;
+ /* Data used for registry */
+ struct list_head head __attribute__((aligned(CACHE_LINE_SIZE)));
pthread_t tid;
};