1CK_EPOCH_REGISTER(3) BSD Library Functions Manual CK_EPOCH_REGISTER(3)
2
4 ck_epoch_register — register a thread for epoch reclamation
5
7 Concurrency Kit (libck, -lck)
8
10 #include <ck_epoch.h>
11
12 void
13 ck_epoch_register(ck_epoch_t *epoch, ck_epoch_record_t *record);
14
16 The ck_epoch_register(3) function associates a record object specified by
17 the record pointer with the epoch object pointed to by epoch. Any thread
18 or processor that will require safe memory reclamation guarantees must
19 register a unique record object. After registration, the object pointed
20 to by the record argument will have lifetime managed by the underlying
21 epoch sub-system. The record object must not be destroyed after it is
22 associated with a ck_epoch_register(3) call.
23
25 This function has no return value.
26
28 ck_epoch_init(3), ck_epoch_unregister(3), ck_epoch_recycle(3),
29 ck_epoch_poll(3), ck_epoch_synchronize(3), ck_epoch_reclaim(3),
30 ck_epoch_barrier(3), ck_epoch_call(3), ck_epoch_begin(3), ck_epoch_end(3)
31
32 Additional information available at http://concurrencykit.org/
33
34 September 2, 2012