ck_array_buffer (3) - Linux Man Pages

ck_array_buffer: return length and pointer to array of reader-visible pointers

NAME

ck_array_buffer - return length and pointer to array of reader-visible pointers

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_array.h Ft void * Fn ck_array_buffer ck_array_t *array unsigned int *length

DESCRIPTION

The Fn ck_array_buffer 3 returns a pointer to the array of pointers currently visible to readers after the last commit operation in Fa array . The unsigned integer pointed to by Fa length is updated to reflect the length of the array.

RETURN VALUES

This function returns a pointer to an array of pointers.

SEE ALSO

ck_array_commit3, ck_array_put3, ck_array_put_unique3, ck_array_remove3, ck_array_init3 ck_array_deinit3, ck_array_length3, ck_array_initialized3, CK_ARRAY_FOREACH3

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