1CK_ARRAY_COMMIT(3) BSD Library Functions Manual CK_ARRAY_COMMIT(3)
2
4 ck_array_commit — linearization point for mutations before commit call
5
7 Concurrency Kit (libck, -lck)
8
10 #include <ck_array.h>
11
12 bool
13 ck_array_commit(ck_array_t *array);
14
16 The ck_array_commit(3) function will commit any pending put or remove
17 operations associated with the array. The function may end up requesting
18 the safe reclamation of memory actively being iterated upon by other
19 threads.
20
22 This function returns true if the commit operation succeeded. It will
23 return false otherwise, and pending operations will not be applied.
24
26 ck_array_init(3), ck_array_put(3), ck_array_put_unique(3),
27 ck_array_remove(3), ck_array_deinit(3) ck_array_length(3),
28 ck_array_buffer(3), ck_array_initialized(3), CK_ARRAY_FOREACH(3)
29
30 Additional information available at http://concurrencykit.org/
31
32 October 18, 2013