Public Member Functions

cygnal::ThreadCounter Class Reference

#include <cygnal.h>

List of all members.

Public Member Functions

 ThreadCounter ()
void increment ()
void decrement ()
int num_of_tids ()

Detailed Description

currently active. This is primarily so the counter can be wrapped with a mutex to be thread safe, as threads delete themseleves.


Constructor & Destructor Documentation

cygnal::ThreadCounter::ThreadCounter (  )  [inline]

Member Function Documentation

void cygnal::ThreadCounter::decrement (  )  [inline]

Referenced by event_handler().

void cygnal::ThreadCounter::increment (  )  [inline]

Referenced by event_handler().

int cygnal::ThreadCounter::num_of_tids (  )  [inline]

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