PFUNC
1.0
|
#include <pfunc/event.hpp>
Public Member Functions | |
event_base () | |
~event_base () | |
bool | test () |
void | reset (const unsigned int &nwait) |
Protected Attributes | |
ALIGN64 int | event_state |
ALIGN64 int | num_waiters |
pfunc::detail::event_base::event_base | ( | ) | [inline] |
Constructor
pfunc::detail::event_base::~event_base | ( | ) | [inline] |
Destructor
void pfunc::detail::event_base::reset | ( | const unsigned int & | nwait | ) | [inline] |
Reset this event for reuse
[in] | nwait | Number of waiters receiving completion notices |
bool pfunc::detail::event_base::test | ( | ) | [inline] |
Test if an event is complete. We just check for the state
ALIGN64 int pfunc::detail::event_base::event_state [protected] |
State of this event
ALIGN64 int pfunc::detail::event_base::num_waiters [protected] |
The number of waiters on this even