ck_hs_count (3) - Linux Man Pages

ck_hs_count: returns number of entries in hash set

NAME

ck_hs_count - returns number of entries in hash set

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_hs.h Ft unsigned long Fn ck_hs_count ck_hs_t *hs

DESCRIPTION

The Fn ck_hs_count 3 function returns the number of keys currently stored in Fa hs .

ERRORS

Behavior is undefined if Fa hs is uninitialized. Behavior is undefined if this function is called by a non-writer thread.

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_remove3, ck_hs_grow3, ck_hs_rebuild3, ck_hs_gc3, ck_hs_reset3, ck_hs_reset_size3, ck_hs_stat3

Additional information available at http://concurrencykit.org/