ck_ht_destroy(3)

ck_ht_destroy3

Immediately destroy a hash table

Usage

#include <ck_ht.h>

void

ck_ht_destroy(ck_ht_t *ht);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_ht_destroy() function will request that the underlying allocator, as specified by the ck_ht_init(3) function, immediately destroy the object pointed to by the ht argument.

The user must guarantee that no threads are accessing the object pointed to by ht when ck_ht_destroy() is called.

Return values

ck_ht_destroy() has no return value.

Errors

This function is guaranteed not to fail.

Releases

Unchanged in 5 releases since Debian 8 (Jessie).

  1. 8–13

From libck-dev 0.7.2-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.