ck_hs_rebuild(3)

ck_hs_rebuild3

Rebuild a hash set

Usage

#include <ck_hs.h>

bool

ck_hs_rebuild(ck_hs_t *hs);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_hs_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_hs_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 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.