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

Function ck_stack_push_spnc

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

* Stack producer operation for single producer and no concurrent consumers. */

Source from the content-addressed store, hash-verified

288 * Stack producer operation for single producer and no concurrent consumers.
289 */
290CK_CC_INLINE static void
291ck_stack_push_spnc(struct ck_stack *target, struct ck_stack_entry *entry)
292{
293
294 entry->next = target->head;
295 target->head = entry;
296 return;
297}
298
299/*
300 * Stack consumer operation for no concurrent producers and single consumer.

Callers 4

ck_epoch_dispatchFunction · 0.85
ck_hp_retireFunction · 0.85
ck_hp_freeFunction · 0.85
ck_epoch_callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected