#include <cygnal.h>
Public Member Functions | |
ThreadCounter () | |
void | increment () |
void | decrement () |
int | num_of_tids () |
currently active. This is primarily so the counter can be wrapped with a mutex to be thread safe, as threads delete themseleves.
cygnal::ThreadCounter::ThreadCounter | ( | ) | [inline] |
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] |
Referenced by connection_handler(), and event_handler().