X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=urcu%2Fstatic%2Fwfstack.h;h=018a1213b525d2266c6187da7b8fffd03dc94e43;hb=131a29a6627c8a1aee35491ac43984ebe756909c;hp=1a0e4d7475bab6beca8ecf3dba2b242b88ae6634;hpb=8af2956c86ba7556b0f7de3ad999a6b29ffbab9a;p=urcu.git diff --git a/urcu/static/wfstack.h b/urcu/static/wfstack.h index 1a0e4d7..018a121 100644 --- a/urcu/static/wfstack.h +++ b/urcu/static/wfstack.h @@ -47,9 +47,10 @@ extern "C" { * Stack implementing push, pop, pop_all operations, as well as iterator * on the stack head returned by pop_all. * - * Wait-free operations: cds_wfs_push, __cds_wfs_pop_all. - * Blocking operations: cds_wfs_pop, cds_wfs_pop_all, iteration on stack - * head returned by pop_all. + * Wait-free operations: cds_wfs_push, __cds_wfs_pop_all, cds_wfs_empty, + * cds_wfs_first. + * Blocking operations: cds_wfs_pop, cds_wfs_pop_all, cds_wfs_next, + * iteration on stack head returned by pop_all. * * Synchronization table: * @@ -283,7 +284,7 @@ _cds_wfs_pop_all_blocking(struct cds_wfs_stack *s) } /* - * cds_wfs_first_blocking: get first node of a popped stack. + * cds_wfs_first: get first node of a popped stack. * * Content written into the node before enqueue is guaranteed to be * consistent, but no other memory ordering is ensured. @@ -295,7 +296,7 @@ _cds_wfs_pop_all_blocking(struct cds_wfs_stack *s) * Returns NULL if popped stack is empty, top stack node otherwise. */ static inline struct cds_wfs_node * -_cds_wfs_first_blocking(struct cds_wfs_head *head) +_cds_wfs_first(struct cds_wfs_head *head) { if (___cds_wfs_end(head)) return NULL;