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. | |
| event () | |
| Create a new event object. | |
| ~event () | |
| event Destructor | |
| af_event | get () const | 
| Return the underlying C af_event handle. | |
| void | mark () | 
| Adds the event on the default ArrayFire queue. | |
| void | enqueue () | 
| Block the ArrayFire queue until this even has occurred. | |
| void | block () const | 
| block the calling thread until this event has occurred | |
| 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.
| void mark | ( | ) | 
Adds the event on the default ArrayFire queue.
Once this point on the program is executed, the event is considered complete.