X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Frcuwfstack.h;h=300c95e3280b47c809b51a433d08844421f79525;hb=05dd4b94f48c1717c18e0dcee88830394a5f171c;hp=f9a45b2209af131fb80724e8e9fc317b094f5c9f;hpb=c3f74cb2ea6f1e395b2d0352ee6c62367144688c;p=urcu.git diff --git a/urcu/rcuwfstack.h b/urcu/rcuwfstack.h index f9a45b2..300c95e 100644 --- a/urcu/rcuwfstack.h +++ b/urcu/rcuwfstack.h @@ -29,7 +29,7 @@ #error "Dynamic loader LGPL wrappers not implemented yet" #endif -#define RCU_WF_STACK_END ((void *)0x1UL) +#define RCU_WF_STACK_END ((void *)0x1UL) struct rcu_wfs_node { struct rcu_wfs_node *next; @@ -83,7 +83,7 @@ void rcu_wfs_push(struct rcu_wfs_stack *s, struct rcu_wfs_node *node) * loops. Better for UP. */ struct rcu_wfs_node * -rcu_wfs_pop(struct rcu_wfs_stack *s) +rcu_wfs_pop_blocking(struct rcu_wfs_stack *s) { for (;;) { struct rcu_wfs_node *head;