Manual Reference Pages - CK_HS_GC (3)
- perform maintenance on a hash set
Concurrency Kit (libck, -lck)
ck_hs_gc ck_hs_t *hs unsigned long cycles unsigned long seed
function will perform various maintenance routines on the hash set
pointed to by
including defragmentation of probe sequences with respect to tombstones
and in the case that the delete workload hint has been passed, recalculation
of probe sequence bounds. The
argument is used to indicate how many hash set entries should be subject
to attempted maintenance. If
is 0, then maintenance is performed on the complete hash set. The
argument determines the start location of the maintenance process. If
is non-zero, it is recommended that
is some random value. If the delete hint has been passed, the function
will require an additional 12% of memory (with respect to existing
memory usage of the set), until operation completion.
Upon successful completion,
returns true and otherwise returns false on failure due to memory allocation
This function will only return false if there are internal memory allocation
Additional information available at http://concurrencykit.org/
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.