Test
This commit is contained in:
@@ -41,6 +41,7 @@ void WaitForShutdown(boost::thread_group* threadGroup)
|
|||||||
// Tell the main threads to shutdown.
|
// Tell the main threads to shutdown.
|
||||||
while (!fShutdown)
|
while (!fShutdown)
|
||||||
{
|
{
|
||||||
|
fprintf(stderr,"call passport iteration\n");
|
||||||
MilliSleep(10000);
|
MilliSleep(10000);
|
||||||
komodo_passport_iteration();
|
komodo_passport_iteration();
|
||||||
fShutdown = ShutdownRequested();
|
fShutdown = ShutdownRequested();
|
||||||
@@ -188,7 +189,7 @@ bool AppInit(int argc, char* argv[])
|
|||||||
} catch (...) {
|
} catch (...) {
|
||||||
PrintExceptionContinue(NULL, "AppInit()");
|
PrintExceptionContinue(NULL, "AppInit()");
|
||||||
}
|
}
|
||||||
|
fprintf(stderr,"fRet.%d\n",(int32_t)fRet);
|
||||||
if (!fRet)
|
if (!fRet)
|
||||||
{
|
{
|
||||||
threadGroup.interrupt_all();
|
threadGroup.interrupt_all();
|
||||||
|
|||||||
Reference in New Issue
Block a user