nidas v1.2.3
|
#include <ThreadSupport.h>
Public Member Functions | |
Multisync (int n) | |
void | sync () |
void | sync (std::string &msg) |
void | init () |
Private Attributes | |
Cond | _co |
int | _n |
int | _count |
int | debug |
Multisync::Multisync | ( | int | n | ) |
References debug.
void Multisync::init | ( | ) |
References _count.
void Multisync::sync | ( | ) |
References _co, _count, _n, nidas::util::Cond::broadcast(), debug, and nidas::util::Cond::wait().
void Multisync::sync | ( | std::string & | msg | ) |
References _co, _count, _n, nidas::util::Cond::broadcast(), debug, and nidas::util::Cond::wait().
|
private |
Referenced by Multisync(), sync(), and sync().