MCPcopy Create free account
hub / github.com/Netis/cloud-probe / spsc_ring_destroy

Function spsc_ring_destroy

cpworker/src/ring_buffer.c:176–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void spsc_ring_destroy(spsc_ring_t *r)
177{
178 free(r->buf);
179 free(r);
180}
181
182size_t spsc_ring_size(spsc_ring_t *r) { return r->size; }
183

Callers 2

task_manager_newFunction · 0.85
task_manager_destroyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected