Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
PendingCompletion Struct Reference

#include <gasnetmsg.h>

Collaboration diagram for PendingCompletion:

Public Types

typedef char Storage_unaligned[TOTAL_CAPACITY]
 

Public Member Functions

 PendingCompletion ()
 
void * add_local_completion (size_t bytes)
 
void * add_remote_completion (size_t bytes)
 
bool mark_ready ()
 
bool invoke_local_completions ()
 
bool invoke_remote_completions ()
 
 REALM_ALIGNED_TYPE_CONST (Storage_aligned, Storage_unaligned, Realm::CompletionCallbackBase::ALIGNMENT)
 

Public Attributes

int index
 
PendingCompletionnext_free
 
Realm::atomic< unsigned > state
 
size_t local_bytes
 
size_t remote_bytes
 
Storage_aligned storage
 

Static Public Attributes

static const unsigned LOCAL_PENDING_BIT = 1
 
static const unsigned REMOTE_PENDING_BIT = 2
 
static const unsigned READY_BIT = 4
 
static const size_t TOTAL_CAPACITY = 256
 

Member Typedef Documentation

◆ Storage_unaligned

typedef char PendingCompletion::Storage_unaligned[TOTAL_CAPACITY]

Constructor & Destructor Documentation

◆ PendingCompletion()

PendingCompletion::PendingCompletion ( )

Member Function Documentation

◆ add_local_completion()

void * PendingCompletion::add_local_completion ( size_t  bytes)

◆ add_remote_completion()

void * PendingCompletion::add_remote_completion ( size_t  bytes)

◆ invoke_local_completions()

bool PendingCompletion::invoke_local_completions ( )

◆ invoke_remote_completions()

bool PendingCompletion::invoke_remote_completions ( )

◆ mark_ready()

bool PendingCompletion::mark_ready ( )

◆ REALM_ALIGNED_TYPE_CONST()

PendingCompletion::REALM_ALIGNED_TYPE_CONST ( Storage_aligned  ,
Storage_unaligned  ,
Realm::CompletionCallbackBase::ALIGNMENT   
)

Member Data Documentation

◆ index

int PendingCompletion::index

◆ local_bytes

size_t PendingCompletion::local_bytes

◆ LOCAL_PENDING_BIT

const unsigned PendingCompletion::LOCAL_PENDING_BIT = 1
static

◆ next_free

PendingCompletion* PendingCompletion::next_free

◆ READY_BIT

const unsigned PendingCompletion::READY_BIT = 4
static

◆ remote_bytes

size_t PendingCompletion::remote_bytes

◆ REMOTE_PENDING_BIT

const unsigned PendingCompletion::REMOTE_PENDING_BIT = 2
static

◆ state

Realm::atomic<unsigned> PendingCompletion::state

◆ storage

Storage_aligned PendingCompletion::storage

◆ TOTAL_CAPACITY

const size_t PendingCompletion::TOTAL_CAPACITY = 256
static

The documentation for this struct was generated from the following file: