{
pthread_cond_signal(&threadCond);
}
-
+#include "log.h"
void Thread::threadWaitForSignal()
{
+ Log::getInstance()->log("Thread", Log::DEBUG, "Entering wait");
pthread_cond_wait(&threadCond, &threadCondMutex);
+ Log::getInstance()->log("Thread", Log::DEBUG, "Leaving wait");
}
void Thread::threadDetach()
resp = NULL;
}
+VompClientRRProc::~VompClientRRProc()
+{
+ threadStop();
+}
+
bool VompClientRRProc::init()
{
return threadStart();
threadWaitForSignal();
if (!req)
{
- log->log("RRProc", Log::ERR, "threadMethod err 2");
+ log->log("RRProc", Log::INFO, "threadMethod err 2 or quit");
threadUnlock();
return;
}