1CK_EPOCH_REGISTER(3)     BSD Library Functions Manual     CK_EPOCH_REGISTER(3)
2

NAME

4     ck_epoch_register — register a thread for epoch reclamation
5

LIBRARY

7     Concurrency Kit (libck, -lck)
8

SYNOPSIS

10     #include <ck_epoch.h>
11
12     void
13     ck_epoch_register(ck_epoch_t *epoch, ck_epoch_record_t *record,
14         void *cl);
15

DESCRIPTION

17     The ck_epoch_register(3) function associates a record object specified by
18     the record pointer with the epoch object pointed to by epoch.  Any thread
19     or processor that will require safe memory reclamation guarantees must
20     register a unique record object. After registration, the object pointed
21     to by the record argument will have lifetime managed by the underlying
22     epoch sub-system.  The record object must not be destroyed after it is
23     associated with a ck_epoch_register(3) call. An optional context pointer
24     cl may be passed that is retrievable with the ck_epoch_record_ct(3) func‐
25     tion.
26

RETURN VALUES

28     This function has no return value.
29

SEE ALSO

31     ck_epoch_init(3), ck_epoch_unregister(3), ck_epoch_recycle(3),
32     ck_epoch_poll(3), ck_epoch_synchronize(3), ck_epoch_reclaim(3),
33     ck_epoch_barrier(3), ck_epoch_call(3), ck_epoch_begin(3), ck_epoch_end(3)
34
35     Additional information available at http://concurrencykit.org/
36
37                               September 2, 2012
Impressum