C++ RAII interface for manipulating events. More...
#include <event.h>
Public Member Functions | |
event (af_event e) | |
Create a new event using the C af_event handle. More... | |
event () | |
Create a new event object. More... | |
~event () | |
event Destructor More... | |
af_event | get () const |
Return the underlying C af_event handle. More... | |
void | mark () |
Adds the event on the default ArrayFire queue. More... | |
void | enqueue () |
Block the ArrayFire queue until this even has occurred. More... | |
void | block () const |
block the calling thread until this event has occurred More... | |
event | ( | ) |
Create a new event object.
~event | ( | ) |
event Destructor
void block | ( | ) | const |
block the calling thread until this event has occurred
void enqueue | ( | ) |
Block the ArrayFire queue until this even has occurred.
af_event get | ( | ) | const |
Return the underlying C af_event handle.
void mark | ( | ) |
Adds the event on the default ArrayFire queue.
Once this point on the program is executed, the event is considered complete.