MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / clear

Method clear

benchmarks/dlib/queue/queue_kernel_1.h:217–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215 typename mem_manager
216 >
217 void queue_kernel_1<T,mem_manager>::
218 clear (
219 )
220 {
221 delete_nodes(out,queue_size);
222 queue_size = 0;
223
224 // put the enumerator at the start
225 reset();
226 }
227
228// ----------------------------------------------------------------------------------------
229

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected