shoutsegment.cpp File Reference


Classes

struct  Thread_Train_Data

Functions

void * thread_train (void *ptr)
int main (int argc, char *argv[])

Variables

int MINPASSES
Thread_Train_Data trainThread [MAX_NR_THREADS]
bool shoutsegment_threadRunning [MAX_NR_THREADS]
bool shoutsegment_threadMayStart [MAX_NR_THREADS]
pthread_mutex_t condition_shoutSegment_mutexStart [MAX_NR_THREADS]
pthread_cond_t condition_shoutSegment_threadStart [MAX_NR_THREADS]
pthread_t shoutsegment_thread [MAX_NR_THREADS]
pthread_mutex_t condition_shoutsegment_mutexDone
pthread_cond_t condition_shoutsegment_threadDone

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Handles the command parameters for ShoutSegment. It is the main function of the shout_segment application.

References APPID_SEGMENT, ShoutConfig::getStringValue(), Thread_Train_Data::id, ShoutConfig::parIsDefined(), shoutsegment_thread, shoutsegment_threadMayStart, shoutsegment_threadRunning, and thread_train().

Here is the call graph for this function:


Variable Documentation

pthread_mutex_t condition_shoutSegment_mutexStart[MAX_NR_THREADS]

pthread_cond_t condition_shoutSegment_threadStart[MAX_NR_THREADS]

pthread_t shoutsegment_thread[MAX_NR_THREADS]

Referenced by main().

Thread_Train_Data trainThread[MAX_NR_THREADS]