X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=urcu%2Fwfstack.h;h=db2ee0c005a85b261997bc10a3a1c72bcb73a809;hb=c85e62f37e4db48038e4494c202f5a2c923262f2;hp=354646dfb4237bf626478d2291de52bb2f47fbf1;hpb=af7c2dbeac32c663b64ad05e4eca70e18784463b;p=userspace-rcu.git diff --git a/urcu/wfstack.h b/urcu/wfstack.h index 354646d..db2ee0c 100644 --- a/urcu/wfstack.h +++ b/urcu/wfstack.h @@ -54,7 +54,7 @@ struct cds_wfs_stack { extern void cds_wfs_node_init(struct cds_wfs_node *node); extern void cds_wfs_init(struct cds_wfs_stack *s); -extern void cds_wfs_push(struct cds_wfs_stack *s, struct cds_wfs_node *node); +extern int cds_wfs_push(struct cds_wfs_stack *s, struct cds_wfs_node *node); /* __cds_wfs_pop_blocking: caller ensures mutual exclusion between pops */ extern struct cds_wfs_node *__cds_wfs_pop_blocking(struct cds_wfs_stack *s); extern struct cds_wfs_node *cds_wfs_pop_blocking(struct cds_wfs_stack *s);