MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ck_stack_batch_pop_upmc

Function ck_stack_batch_pop_upmc

freebsd/contrib/ck/include/ck_stack.h:150–158  ·  view source on GitHub ↗

* Pop all items off the stack. */

Source from the content-addressed store, hash-verified

148 * Pop all items off the stack.
149 */
150CK_CC_INLINE static struct ck_stack_entry *
151ck_stack_batch_pop_upmc(struct ck_stack *target)
152{
153 struct ck_stack_entry *entry;
154
155 entry = ck_pr_fas_ptr(&target->head, NULL);
156 ck_pr_fence_load();
157 return entry;
158}
159#endif /* CK_F_STACK_BATCH_POP_UPMC */
160
161#ifndef CK_F_STACK_PUSH_MPMC

Callers 2

ck_epoch_dispatchFunction · 0.85
ck_stack_batch_pop_mpmcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected