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

NAME

4     ck_epoch_poll — non-blocking poll of epoch object for dispatch cycles
5

LIBRARY

7     Concurrency Kit (libck, -lck)
8

SYNOPSIS

10     #include <ck_epoch.h>
11
12     bool
13     ck_epoch_poll(ck_epoch_record_t *record);
14

DESCRIPTION

16     The ck_epoch_poll(3) function will attempt to dispatch any functions
17     associated with the object pointed to by epoch via ck_epoch_call(3) if
18     deemed safe. This function is meant to be used in cases epoch reclamation
19     cost must be amortized over time in a manner that does not affect caller
20     progress.
21

RETURN VALUES

23     This functions returns false if the following conditions are met: no mem‐
24     ory was reclaimed, the records are not in a grace period and no forward
25     progress was made.
26

ERRORS

28     Behavior is undefined if the object pointed to by record has not have
29     been previously registered via ck_epoch_register(3).
30

SEE ALSO

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