Public Member Functions | |
MyThreadClass (int32 max_to_count, int32 *i) | |
MyThreadClass (const MyThreadClass &other) | |
void | operator() () |
~MyThreadClass () | |
Public Member Functions inherited from MultiThreadable | |
virtual | ~MultiThreadable () |
Private Member Functions | |
MyThreadClass () | |
Private Attributes | |
int32 | max_to_count_ |
int32 * | iptr_ |
int32 | private_counter_ |
Additional Inherited Members | |
Public Attributes inherited from MultiThreadable | |
int32 | thread_id_ |
int32 | num_threads_ |
Definition at line 29 of file kaldi-thread-test.cc.
|
inline |
Definition at line 31 of file kaldi-thread-test.cc.
|
inline |
Definition at line 37 of file kaldi-thread-test.cc.
|
inline |
Definition at line 50 of file kaldi-thread-test.cc.
References MyThreadClass::iptr_, and MyThreadClass::private_counter_.
|
inlineprivate |
Definition at line 55 of file kaldi-thread-test.cc.
|
inlinevirtual |
Implements MultiThreadable.
Definition at line 42 of file kaldi-thread-test.cc.
References rnnlm::j, MyThreadClass::max_to_count_, MultiThreadable::num_threads_, MyThreadClass::private_counter_, and MultiThreadable::thread_id_.
|
private |
Definition at line 57 of file kaldi-thread-test.cc.
Referenced by MyThreadClass::~MyThreadClass().
|
private |
Definition at line 56 of file kaldi-thread-test.cc.
Referenced by MyThreadClass::operator()().
|
private |
Definition at line 58 of file kaldi-thread-test.cc.
Referenced by MyThreadClass::operator()(), and MyThreadClass::~MyThreadClass().