Merge pull request #6067 from daira/dont-rename-main-thread
Don't rename main thread
This commit is contained in:
commit
4be354aad5
|
@ -43,10 +43,6 @@ static bool fDaemon;
|
||||||
|
|
||||||
void WaitForShutdown(boost::thread_group* threadGroup)
|
void WaitForShutdown(boost::thread_group* threadGroup)
|
||||||
{
|
{
|
||||||
// This is the main process thread, but after this point, all we do here is wait for
|
|
||||||
// shutdown, and then shut down the node.
|
|
||||||
RenameThread("zc-wait-to-stop");
|
|
||||||
|
|
||||||
bool fShutdown = ShutdownRequested();
|
bool fShutdown = ShutdownRequested();
|
||||||
// Tell the main threads to shutdown.
|
// Tell the main threads to shutdown.
|
||||||
while (!fShutdown)
|
while (!fShutdown)
|
||||||
|
|
Loading…
Reference in New Issue