DOKK / manpages / debian 12 / libck-dev / ck_array_length.3.en
CK_ARRAY_LENGTH(3) Library Functions Manual CK_ARRAY_LENGTH(3)

ck_array_lengthreturns the number of pointers committed to an array

Concurrency Kit (libck, -lck)

#include <ck_array.h>

unsigned int
ck_array_length(ck_array_t *array);

The (3) function returns the number of items a concurrent traversal operation would encounter at completion time.

The number of traversal-visible pointers is returned.

ck_array_commit(3), ck_array_put(3), ck_array_put_unique(3), ck_array_remove(3), ck_array_init(3) ck_array_deinit(3), ck_array_buffer(3), ck_array_initialized(3), CK_ARRAY_FOREACH(3)

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

October 18, 2013