Lines Matching defs:ST_HSL_CONTROLLER
247 typedef struct ST_HSL_CONTROLLER struct
250 stSystemState* pSystemState; // location of structure for system state
251 MS_U32 u32Port; // port on which connections will be accepted
252 MS_U8 u8Instance;
253 MS_BOOL bInit;
257 hslThread logThreads[MAX_OUTPUT_THREADS];
263 stListNode pendingWriteList[PENDING_WRITE_LIST_LEN];
264 stListNode *pendingWriteHead; //TODO: initialize pointers with zeros
265 MS_U16 pendingWriteLength;
267 volatile MS_BOOL thread_finalize;
269 pthread_mutex_t bufferMutex; // mutex for accessing the ring buffer
270 pthread_mutex_t inputMutex; // mutex synchronising the input threads
271 pthread_mutex_t outputCondMutex; // mutex for I/O sync
272 pthread_cond_t outputCond; // ring buffer output sync condition
274 pthread_mutex_t pendingWriteMutex; // mutex for the pending write linked list;
276 pthread_t threadCmdRecvStart;
277 pthread_mutex_t socketReadMutex; // mutex variable for socket read
279 MS_BOOL g_AutoTestRun;
280 int hServerSocket, hClientSocket;