wfcqueue: clarify locking usage
[urcu.git] / urcu-call-rcu.h
index 8df44ef3adfc35bc4f2da2379c0241fc4db05aae..1dad0e2c46cc88d691827208c38c6be092f2bf1e 100644 (file)
@@ -32,7 +32,7 @@
 #include <stdlib.h>
 #include <pthread.h>
 
-#include <urcu/wfqueue.h>
+#include <urcu/wfcqueue.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -55,16 +55,16 @@ struct call_rcu_data;
  */
 
 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,
@@ -86,6 +86,8 @@ int set_cpu_call_rcu_data(int cpu, struct call_rcu_data *crdp);
 int create_all_cpu_call_rcu_data(unsigned long flags);
 void free_all_cpu_call_rcu_data(void);
 
+void call_rcu_before_fork(void);
+void call_rcu_after_fork_parent(void);
 void call_rcu_after_fork_child(void);
 
 #ifdef __cplusplus 
This page took 0.023302 seconds and 4 git commands to generate.