ck_rhs_rebuild(3)

ck_rhs_rebuild3

Rebuild a hash set

Usage

#include <ck_rhs.h>

bool

ck_rhs_rebuild(ck_rhs_t *hs);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_rhs_rebuild(3) function will regenerate the hash set pointed to by hs. This has the side-effect of pruning degradatory side-effects of workloads that are delete heavy. The regenerated hash set should have shorter probe sequences on average. This operation will require a significant amount of memory and is free to allocate a duplicate hash set in the rebuild process.

Return values

Upon successful completion, ck_rhs_rebuild(3) returns true and otherwise returns false on 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.