Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
@@ -70,7 +70,7 @@ PrtCnvApplication::~PrtCnvApplication()
|
||||
|
||||
void PrtCnvApplication::waitForCreate(const E_ThreadId a_threadId)
|
||||
{
|
||||
INFO_LOG() << "Wait for others until we can create " << threadIdToString(a_threadId);
|
||||
INFO_LOG(m_logger) << "Wait for others until we can create " << threadIdToString(a_threadId);
|
||||
setConstructed(a_threadId);
|
||||
switch (a_threadId)
|
||||
{
|
||||
@@ -80,7 +80,7 @@ void PrtCnvApplication::waitForCreate(const E_ThreadId a_threadId)
|
||||
isConstructed(e_Log) &&
|
||||
isConstructed(e_Injection)))
|
||||
{
|
||||
DEBUG_LOG() << "wait...";
|
||||
DEBUG_LOG(m_logger) << "wait...";
|
||||
QThread::sleep(1);
|
||||
}
|
||||
break;
|
||||
@@ -91,7 +91,7 @@ void PrtCnvApplication::waitForCreate(const E_ThreadId a_threadId)
|
||||
isConstructed(e_Log) &&
|
||||
isConstructed(e_Injection)))
|
||||
{
|
||||
DEBUG_LOG() << "wait...";
|
||||
DEBUG_LOG(m_logger) << "wait...";
|
||||
QThread::sleep(1);
|
||||
}
|
||||
break;
|
||||
@@ -100,14 +100,14 @@ void PrtCnvApplication::waitForCreate(const E_ThreadId a_threadId)
|
||||
while (!(isConstructed(e_Radio) &&
|
||||
isConstructed(e_Central)))
|
||||
{
|
||||
DEBUG_LOG() << "wait...";
|
||||
DEBUG_LOG(m_logger) << "wait...";
|
||||
QThread::sleep(1);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
INFO_LOG() << "Now we can create " << threadIdToString(a_threadId);
|
||||
INFO_LOG(m_logger) << "Now we can create " << threadIdToString(a_threadId);
|
||||
}
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ void PrtCnvApplication::waitForCreate(const E_ThreadId a_threadId)
|
||||
|
||||
void PrtCnvApplication::waitForInit(E_ThreadId a_threadId)
|
||||
{
|
||||
INFO_LOG() << "Wait for others until we can initialize " << threadIdToString(a_threadId);
|
||||
INFO_LOG(m_logger) << "Wait for others until we can initialize " << threadIdToString(a_threadId);
|
||||
setCreated(a_threadId);
|
||||
switch (a_threadId)
|
||||
{
|
||||
@@ -124,7 +124,7 @@ void PrtCnvApplication::waitForInit(E_ThreadId a_threadId)
|
||||
while (!(isCreated(e_Db) &&
|
||||
isCreated(e_Radio)))
|
||||
{
|
||||
DEBUG_LOG() << "wait...";
|
||||
DEBUG_LOG(m_logger) << "wait...";
|
||||
QThread::sleep(1);
|
||||
}
|
||||
break;
|
||||
@@ -133,7 +133,7 @@ void PrtCnvApplication::waitForInit(E_ThreadId a_threadId)
|
||||
while (!(isCreated(e_Db) &&
|
||||
isCreated(e_Central)))
|
||||
{
|
||||
DEBUG_LOG() << "wait...";
|
||||
DEBUG_LOG(m_logger) << "wait...";
|
||||
QThread::sleep(1);
|
||||
}
|
||||
break;
|
||||
@@ -142,14 +142,14 @@ void PrtCnvApplication::waitForInit(E_ThreadId a_threadId)
|
||||
while (!(isCreated(e_Radio) &&
|
||||
isCreated(e_Central)))
|
||||
{
|
||||
DEBUG_LOG() << "wait...";
|
||||
DEBUG_LOG(m_logger) << "wait...";
|
||||
QThread::sleep(1);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
INFO_LOG() << "Now we can initialize " << threadIdToString(a_threadId);
|
||||
INFO_LOG(m_logger) << "Now we can initialize " << threadIdToString(a_threadId);
|
||||
}
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ void PrtCnvApplication::waitForInit(E_ThreadId a_threadId)
|
||||
|
||||
void PrtCnvApplication::waitForStart(E_ThreadId a_threadId)
|
||||
{
|
||||
INFO_LOG() << "Wait for others until we can start " << threadIdToString(a_threadId);
|
||||
INFO_LOG(m_logger) << "Wait for others until we can start " << threadIdToString(a_threadId);
|
||||
setInitialized(a_threadId);
|
||||
switch (a_threadId)
|
||||
{
|
||||
@@ -167,7 +167,7 @@ void PrtCnvApplication::waitForStart(E_ThreadId a_threadId)
|
||||
isStarted(e_Log) &&
|
||||
isStarted(e_Injection)))
|
||||
{
|
||||
DEBUG_LOG() << "wait...";
|
||||
DEBUG_LOG(m_logger) << "wait...";
|
||||
QThread::sleep(1);
|
||||
}
|
||||
break;
|
||||
@@ -179,7 +179,7 @@ void PrtCnvApplication::waitForStart(E_ThreadId a_threadId)
|
||||
isStarted(e_Injection) &&
|
||||
isInitialized(e_RadioTraffic)))
|
||||
{
|
||||
DEBUG_LOG() << "wait...";
|
||||
DEBUG_LOG(m_logger) << "wait...";
|
||||
QThread::sleep(1);
|
||||
}
|
||||
break;
|
||||
@@ -189,7 +189,7 @@ void PrtCnvApplication::waitForStart(E_ThreadId a_threadId)
|
||||
isInitialized(e_Central) &&
|
||||
isStarted(e_Log)))
|
||||
{
|
||||
DEBUG_LOG() << "wait...";
|
||||
DEBUG_LOG(m_logger) << "wait...";
|
||||
QThread::sleep(1);
|
||||
}
|
||||
break;
|
||||
@@ -198,14 +198,14 @@ void PrtCnvApplication::waitForStart(E_ThreadId a_threadId)
|
||||
while (!(isInitialized(e_Radio) &&
|
||||
isStarted(e_Log)))
|
||||
{
|
||||
DEBUG_LOG() << "wait...";
|
||||
DEBUG_LOG(m_logger) << "wait...";
|
||||
QThread::sleep(1);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
INFO_LOG() << "Now we can start " << threadIdToString(a_threadId);
|
||||
INFO_LOG(m_logger) << "Now we can start " << threadIdToString(a_threadId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user