X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=wfstack.c;h=c8bd7e6214211190be827474c301718882daf7c9;hp=4ccb6b93aaaecc0752d4682842fba13aff2512d9;hb=7eba9f8868d01401bc9b09ab2764bd371b783ad1;hpb=af67624df8d06ebaa5d72dd863a73d334611e900 diff --git a/wfstack.c b/wfstack.c index 4ccb6b9..c8bd7e6 100644 --- a/wfstack.c +++ b/wfstack.c @@ -53,6 +53,12 @@ struct cds_wfs_node *cds_wfs_pop_blocking(struct cds_wfs_stack *s) return _cds_wfs_pop_blocking(s); } +struct cds_wfs_node * + cds_wfs_pop_with_state_blocking(struct cds_wfs_stack *s, int *state) +{ + return _cds_wfs_pop_with_state_blocking(s, state); +} + struct cds_wfs_head *cds_wfs_pop_all_blocking(struct cds_wfs_stack *s) { return _cds_wfs_pop_all_blocking(s); @@ -88,11 +94,24 @@ struct cds_wfs_node *__cds_wfs_pop_blocking(struct cds_wfs_stack *s) return ___cds_wfs_pop_blocking(s); } +struct cds_wfs_node * + __cds_wfs_pop_with_state_blocking(struct cds_wfs_stack *s, int *state) +{ + return ___cds_wfs_pop_with_state_blocking(s, state); +} + struct cds_wfs_node *__cds_wfs_pop_nonblocking(struct cds_wfs_stack *s) { return ___cds_wfs_pop_nonblocking(s); } +struct cds_wfs_node * + __cds_wfs_pop_with_state_nonblocking(struct cds_wfs_stack *s, + int *state) +{ + return ___cds_wfs_pop_with_state_nonblocking(s, state); +} + struct cds_wfs_head *__cds_wfs_pop_all(struct cds_wfs_stack *s) { return ___cds_wfs_pop_all(s);