ck_rhs_gc(3)

ck_rhs_gc3

Perform maintenance on a hash set

Usage

#include <ck_rhs.h>

bool

ck_rhs_gc(ck_rhs_t *hs);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_rhs_gc(3) function will perform various maintenance routines on the hash set pointed to by hs, including recalculating the maximum number of probes.

Return values

Upon successful completion, ck_rhs_gc(3) returns true and otherwise returns false on failure due to memory allocation failure.

Errors

This function will only return false if there are internal memory allocation failures.

Releases

Unchanged in 4 releases since Debian 9 (Stretch).

  1. 9–13

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