test
This commit is contained in:
@@ -32,6 +32,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
static bool fDaemon;
|
static bool fDaemon;
|
||||||
|
extern char ASSETCHAINS_SYMBOL[16];
|
||||||
|
void komodo_gateway_iteration(char *symbol);
|
||||||
|
|
||||||
void WaitForShutdown(boost::thread_group* threadGroup)
|
void WaitForShutdown(boost::thread_group* threadGroup)
|
||||||
{
|
{
|
||||||
@@ -39,7 +41,8 @@ void WaitForShutdown(boost::thread_group* threadGroup)
|
|||||||
// Tell the main threads to shutdown.
|
// Tell the main threads to shutdown.
|
||||||
while (!fShutdown)
|
while (!fShutdown)
|
||||||
{
|
{
|
||||||
MilliSleep(200);
|
MilliSleep(2000);
|
||||||
|
komodo_gateway_iteration(ASSETCHAINS_SYMBOL);
|
||||||
fShutdown = ShutdownRequested();
|
fShutdown = ShutdownRequested();
|
||||||
}
|
}
|
||||||
if (threadGroup)
|
if (threadGroup)
|
||||||
|
|||||||
Reference in New Issue
Block a user