This reverts part of 1f1810c37d in #5959.

Leaving the main thread unnamed causes it to be displayed as the executable name (i.e. `zcashd`)
or command line in process monitoring tools. fixes #6066

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2022-07-09 11:23:56 +01:00
parent 050133358b
commit c0bab39e4f
1 changed files with 0 additions and 4 deletions

View File

@ -43,10 +43,6 @@ static bool fDaemon;
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();
// Tell the main threads to shutdown.
while (!fShutdown)