MCPcopy Create free account
hub / github.com/coreutils/coreutils / queue_destroy

Function queue_destroy

src/sort.c:3617–3623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3615/* Destroy merge QUEUE. */
3616
3617static void
3618queue_destroy (struct merge_node_queue *queue)
3619{
3620 heap_free (queue->priority_queue);
3621 pthread_cond_destroy (&queue->cond);
3622 pthread_mutex_destroy (&queue->mutex);
3623}
3624
3625/* Initialize merge QUEUE, allocating space suitable for a maximum of
3626 NTHREADS threads. */

Callers 1

sortFunction · 0.85

Calls 1

heap_freeFunction · 0.85

Tested by

no test coverage detected