#include <stdlib.h>
#include <pthread.h>
-#include <urcu/wfqueue.h>
+#include <urcu/wfcqueue.h>
#ifdef __cplusplus
extern "C" {
*/
struct rcu_head {
- struct cds_wfq_node next;
+ struct cds_wfcq_node next;
void (*func)(struct rcu_head *head);
};
/*
* Exported functions
*
- * Important: see userspace RCU API.txt for call_rcu family of functions
- * usage detail, including the surrounding RCU usage required when using
- * these primitives.
+ * Important: see rcu-api.txt in userspace-rcu documentation for
+ * call_rcu family of functions usage detail, including the surrounding
+ * RCU usage required when using these primitives.
*/
void call_rcu(struct rcu_head *head,