ck_hs_rebuild (3) - Linux Manuals
ck_hs_rebuild: rebuild a hash set
NAME
ck_hs_rebuild - rebuild a hash setLIBRARY
Concurrency Kit (libck, -lck)SYNOPSIS
In ck_hs.h Ft bool Fn ck_hs_rebuild ck_hs_t *hsDESCRIPTION
The Fn ck_hs_rebuild 3 function will regenerate the hash set pointed to by Fa 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, Fn 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.SEE ALSO
ck_hs_init3, ck_hs_move3, ck_hs_destroy3, CK_HS_HASH3, ck_hs_iterator_init3, ck_hs_next3, ck_hs_get3, ck_hs_put3, ck_hs_put_unique3, ck_hs_set3, ck_hs_fas3, ck_hs_gc3, ck_hs_grow3, ck_hs_remove3, ck_hs_count3, ck_hs_reset3, ck_hs_reset_size3, ck_hs_stat3Additional information available at http://concurrencykit.org/