Add back uatomic_arch.h for slow deprecation process
[urcu.git] / urcu / rculfstack.h
index 20ac26c3d2e8a13b8d64ae5e21a09459da9f53ca..6a240fd42681761a0e458eb8827dd8fc83c7f6f2 100644 (file)
@@ -37,7 +37,7 @@ struct cds_lfs_stack_rcu {
 
 #ifdef _LGPL_SOURCE
 
-#include <urcu/rculfstack-static.h>
+#include <urcu/static/rculfstack.h>
 
 #define cds_lfs_node_init_rcu  _cds_lfs_node_init_rcu
 #define cds_lfs_init_rcu               _cds_lfs_init_rcu
@@ -51,6 +51,8 @@ extern void cds_lfs_init_rcu(struct cds_lfs_stack_rcu *s);
 extern void cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, struct cds_lfs_node_rcu *node);
 
 /*
+ * Should be called under rcu read lock critical section.
+ *
  * The caller must wait for a grace period to pass before freeing the returned
  * node or modifying the cds_lfs_node_rcu structure.
  * Returns NULL if stack is empty.
This page took 0.022403 seconds and 4 git commands to generate.