rculfstack.h | rculfstack.h | |||
---|---|---|---|---|
skipping to change at line 43 | skipping to change at line 43 | |||
struct cds_lfs_stack_rcu { | struct cds_lfs_stack_rcu { | |||
struct cds_lfs_node_rcu *head; | struct cds_lfs_node_rcu *head; | |||
}; | }; | |||
#ifdef _LGPL_SOURCE | #ifdef _LGPL_SOURCE | |||
#include <urcu/static/rculfstack.h> | #include <urcu/static/rculfstack.h> | |||
#define cds_lfs_node_init_rcu _cds_lfs_node_init_rcu | #define cds_lfs_node_init_rcu _cds_lfs_node_init_rcu | |||
#define cds_lfs_init_rcu _cds_lfs_init_rcu | #define cds_lfs_init_rcu _cds_lfs_init_rcu | |||
#define cds_lfs_push_rcu _cds_lfs_push_rcu | #define cds_lfs_push_rcu _cds_lfs_push_rcu | |||
#define cds_lfs_pop_rcu _cds_lfs_pop_rcu | #define cds_lfs_pop_rcu _cds_lfs_pop_rcu | |||
#else /* !_LGPL_SOURCE */ | #else /* !_LGPL_SOURCE */ | |||
extern void cds_lfs_node_init_rcu(struct cds_lfs_node_rcu *node); | extern void cds_lfs_node_init_rcu(struct cds_lfs_node_rcu *node); | |||
extern void cds_lfs_init_rcu(struct cds_lfs_stack_rcu *s); | 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_no de_rcu *node); | extern void cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, struct cds_lfs_no de_rcu *node); | |||
/* | /* | |||
* Should be called under rcu read lock critical section. | * Should be called under rcu read lock critical section. | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||