ck_epoch_poll(3)

ck_epoch_poll3

Non-blocking poll of epoch object for dispatch cycles

Usage

#include <ck_epoch.h>

bool

ck_epoch_poll(ck_epoch_record_t *record);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_epoch_poll(3) function will attempt to dispatch any functions associated with the object pointed to by epoch via 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 values

This functions returns false if the following conditions are met: no memory was reclaimed, the records are not in a grace period and no forward progress was made.

Errors

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

Releases

5 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8
  2. 9–11
  3. 12–13

From libck-dev 0.7.2-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.