Skip to main content

class fence_instruction

Declaration

class fence_instruction : public implement_acceptor { /* full declaration omitted */ };

Description

Fulfills a fence promise. Issued directly after a copy_instruction to user memory in case of a buffer fence.

Inherits from: implement_acceptor

Member Variables

fence_promise* m_promise

Member Function Overview

Member Functions

explicit fence_instruction(instruction_id iid,
                           int priority,
                           fence_promise* promise)

Parameters

instruction_id iid
int priority
fence_promise* promise

fence_promise* get_promise() const