ck_epoch_poll (3) - Linux Manuals
ck_epoch_poll: non-blocking poll of epoch object for dispatch cycles
NAMEck_epoch_poll - non-blocking poll of epoch object for dispatch cycles
LIBRARYConcurrency Kit (libck, -lck)
SYNOPSISIn ck_epoch.h Ft bool Fn ck_epoch_poll ck_epoch_record_t *record
DESCRIPTIONThe Fn ck_epoch_poll 3 function will attempt to dispatch any functions associated with the object pointed to by Fa epoch via Fn ck_epoch_call 3 if deemed safe. This function is meant to be used in cases epoch reclamation cost must be amortized over time in a manner that does not affect caller progress.
RETURN VALUESThis function will return true if at least one function was dispatched. This function will return false if it has determined not all threads have observed the latest generation of epoch-protected objects. Neither value indicates an error.
ERRORSBehavior is undefined if the object pointed to by Fa record has not have been previously registered via Fn ck_epoch_register 3 .
SEE ALSOck_epoch_init3, ck_epoch_register3, ck_epoch_unregister3, ck_epoch_recycle3, ck_epoch_synchronize3, ck_epoch_reclaim3, ck_epoch_barrier3, ck_epoch_call3, ck_epoch_begin3, ck_epoch_end3
Additional information available at http://concurrencykit.org/