Skip to main content

class epoch_monitor

Declaration

class epoch_monitor { /* full declaration omitted */ };

Member Variables

task_id m_this_epoch
std::mutex m_mutex
std::condition_variable m_epoch_changed

Member Function Overview

  • await(task_id min_tid_reached) const → task_id
  • epoch_monitor(task_id epoch) → explicit
  • get() const → task_id
  • set(task_id epoch) → void

Member Functions

task_id await(task_id min_tid_reached) const

Parameters

task_id min_tid_reached

explicit epoch_monitor(task_id epoch)

Parameters

task_id epoch

task_id get() const


void set(task_id epoch)

Parameters

task_id epoch