ck_array_commit (3) - Linux Manuals

ck_array_commit: linearization point for mutations before commit call

NAME

ck_array_commit - linearization point for mutations before commit call

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_array.h Ft bool Fn ck_array_commit ck_array_t *array

DESCRIPTION

The Fn ck_array_commit 3 function will commit any pending put or remove operations associated with the array. The function may end up requesting the safe reclamation of memory actively being iterated upon by other threads.

RETURN VALUES

This function returns true if the commit operation succeeded. It will return false otherwise, and pending operations will not be applied.

SEE ALSO

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

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