Skip to main content

class task_ring_buffer::reservation

Declaration

class task_ring_buffer::reservation { /* full declaration omitted */ };

Member Variables

bool m_consumed = false
task_id m_tid
task_ring_buffer& m_buffer

Member Function Overview

Member Functions

task_id get_tid() const


reservation& operator=(const reservation&)

Parameters

const reservation&

reservation(task_id tid, task_ring_buffer& buffer)

Parameters

task_id tid
task_ring_buffer& buffer

reservation(const reservation&)

Parameters

const reservation&

reservation(reservation&&)

Parameters

reservation&&

~reservation()


void consume()