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

Method delete_nodes

benchmarks/dlib/queue/queue_kernel_2.h:579–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577 typename mem_manager
578 >
579 void queue_kernel_2<T,block_size,mem_manager>::
580 delete_nodes (
581 node* start,
582 node* end
583 )
584 {
585 node* temp;
586 while (start != end)
587 {
588 temp = start;
589 start = start->next;
590 pool.deallocate(temp);
591 }
592 pool.deallocate(start);
593 }
594
595// ----------------------------------------------------------------------------------------
596

Callers

nothing calls this directly

Calls 1

deallocateMethod · 0.45

Tested by

no test coverage detected