PFUNC  1.0
Public Member Functions | Protected Attributes
pfunc::detail::event_base Struct Reference

#include <pfunc/event.hpp>

Inheritance diagram for pfunc::detail::event_base:
pfunc::detail::no_copy pfunc::detail::event< EventType > pfunc::detail::event< testable_event >

List of all members.

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

Constructor & Destructor Documentation

Constructor

Destructor


Member Function Documentation

void pfunc::detail::event_base::reset ( const unsigned int &  nwait) [inline]

Reset this event for reuse

Parameters:
[in]nwaitNumber of waiters receiving completion notices

Test if an event is complete. We just check for the state

Returns:
true if the event is complete
false if the event is incomplete or inactive

Member Data Documentation

State of this event

The number of waiters on this even


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