1CK_ARRAY_REMOVE(3) BSD Library Functions Manual CK_ARRAY_REMOVE(3)
2
4 ck_array_remove — attempt immediate or deferred removal of a pointer from
5 an array
6
8 Concurrency Kit (libck, -lck)
9
11 #include <ck_array.h>
12
13 bool
14 ck_array_remove(ck_array_t *array, void *pointer);
15
17 The ck_array_remove(3) function will attempt to remove the value of
18 pointer into the array pointed to by array. The operation is also free to
19 apply the operation immediately if there is an opportunity for elimina‐
20 tion with a pending (uncommitted) put operation. If no elimination was
21 possible, the function may require to allocate more memory.
22
24 This function returns true if the remove operation succeeded. It will
25 return false otherwise due to internal allocation failures or because the
26 value did not exist.
27
29 ck_array_init(3), ck_array_commit(3), ck_array_remove(3),
30 ck_array_put_unique(3), ck_array_deinit(3) ck_array_length(3),
31 ck_array_buffer(3), ck_array_initialized(3), CK_ARRAY_FOREACH(3)
32
33 Additional information available at http://concurrencykit.org/
34
35 October 18, 2013