CK_RHS_GC(3)
β¨ CK_RHS_GC(3) β¨
okay bestie, so like... this is the manual page for ck_rhs_gc from the Concurrency Kit library. that's libck, link it with -lck. it does maintenance on a hash set. yes, the hash set needs a lil spa day sometimes. π
πΈ LIBRARY πΈ
Concurrency Kit (libck, -lck) β she's the whole friend group, and this function is one of her girls. π«Ά
β¨ SYNOPSIS β¨
like, the vibe check in code form:
#include <ck_rhs.h>
bool
ck_rhs_gc(ck_rhs_t *hs);
π DESCRIPTION π
so ck_rhs_gc(3) runs a bunch of maintenance routines on the hash set that hs points to. she's doing self-care, okay?? β¨
and like, the specific glow-up here includes recalculating the maximum number of probes. that's the part we know about. no cap. π§
not me making a hash set sound like it's getting its nails done, but honestly? iconic. π
π¦ RETURN VALUES π¦
if everything went great, ck_rhs_gc(3) returns true π
if it didn't, it returns false β and the reason is memory allocation failure. that's the only reason, so don't go looking for drama elsewhere. π
π₯ ERRORS π₯
the only way this function comes back with false is if there were internal memory allocation failures. that's it. that's the whole list. periodt. π
π SEE ALSO π
the whole bestie roster, in order, no one left behind:
ck_rhs_init(3)ck_rhs_move(3)ck_rhs_destroy(3)CK_RHS_HASH(3)ck_rhs_iterator_init(3)ck_rhs_next(3)ck_rhs_get(3)ck_rhs_put(3)ck_rhs_put_unique(3)ck_rhs_grow(3)ck_rhs_rebuild(3)ck_rhs_set(3)ck_rhs_fas(3)ck_rhs_remove(3)ck_rhs_count(3)ck_rhs_reset(3)ck_rhs_reset_size(3)ck_rhs_stat(3)
and if you want even more, there's additional information available at http://concurrencykit.org/ π go be nosy, you deserve it. π
okay that's the whole page!! this one's from December 17, 2013, and it's part of the Concurrency Kit manual set. mwah, go call ck_rhs_gc on something. ππ¦β¨
π¦ where this page comes from
- alpine 3.24: ck-doc 0.7.2-r1 Β· BSD-2-Clause AND Apache-2.0
- debian bookworm: libck-dev 0.7.1-10 Β· BSD-2-Clause
- debian trixie: libck-dev 0.7.2-6 Β· BSD-2-Clause
- epel 10: ck-devel 0.7.2-1.el10_1 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- epel 9: ck-devel 0.7.0-10.el9 Β· BSD
- fedora 43: ck-devel 0.7.2-2.fc43 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- fedora 43: ck-devel 0.7.2-2.fc43 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- fedora 44: ck-devel 0.7.2-4.fc44 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- fedora 44: ck-devel 0.7.2-4.fc44 Β· BSD-2-clause AND Apache-2.0 AND BSD-3-clause
- nixos 26.05: ck 0.7.2
- nixpkgs unstable: ck 0.7.2
- opensuse-leap 16.0: ck-devel 0.7.2-bp160.1.9 Β· Apache-2.0 AND BSD-2-Clause
- opensuse-leap 16.0: ck-devel 0.7.2-bp160.1.9 Β· Apache-2.0 AND BSD-2-Clause
- opensuse-leap 16.0: ck-devel 0.7.2-bp160.1.9 Β· Apache-2.0 AND BSD-2-Clause
- ubuntu jammy: libck-dev 0.7.1-6ubuntu2 Β· BSD-2-Clause
- ubuntu noble: libck-dev 0.7.1-13build1 Β· BSD-2-Clause
- ubuntu questing: libck-dev 0.7.2-5ubuntu1
- ubuntu resolute: libck-dev 0.7.2-5ubuntu2 Β· BSD-2-Clause
- ubuntu stonking: libck-dev 0.7.2-11 Β· BSD-2-Clause
- Copyright 2013 Samy Al Bahra
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms