add static thread names

This commit is contained in:
sehraf 2016-06-01 16:18:19 +02:00
parent 5b67654530
commit f16ee97093
7 changed files with 10 additions and 10 deletions

View file

@ -188,18 +188,18 @@ void ftServer::StartupThreads()
/* self contained threads */
/* startup ExtraList Thread */
mFtExtra->start("RS ft extra lst");
mFtExtra->start("ft extra lst");
/* startup Monitor Thread */
/* startup the FileMonitor (after cache load) */
/* start it up */
mFiMon->start("RS ft monitor");
mFiMon->start("ft monitor");
/* Controller thread */
mFtController->start("RS ft ctrl");
mFtController->start("ft ctrl");
/* Dataplex */
mFtDataplex->start("RS ft dataplex");
mFtDataplex->start("ft dataplex");
}
void ftServer::StopThreads()

View file

@ -592,7 +592,7 @@ bool ftTransferModule::checkFile()
// Note: using new is really important to avoid copy and write errors in the thread.
//
_hash_thread = new HashThread(mFileCreator) ;
_hash_thread->start() ;
_hash_thread->start("ft hash") ;
#ifdef FT_DEBUG
std::cerr << "ftTransferModule::checkFile(): launched hashing thread for file " << mHash << std::endl ;
#endif

View file

@ -265,7 +265,7 @@ void RsGenExchange::tick()
else
{
mIntegrityCheck = new RsGxsIntegrityCheck(mDataStore,mGixs);
mIntegrityCheck->start();
mIntegrityCheck->start("gxs integrity");
mChecking = true;
}
}

View file

@ -130,7 +130,7 @@ AuthGPG::AuthGPG(const std::string& path_to_public_keyring,const std::string& pa
{
_force_sync_database = false ;
mCount = 0;
start();
start("AuthGPG");
}
/* This function is called when retroshare is first started

View file

@ -1834,7 +1834,7 @@ int RsServer::StartupRetroShare()
}
/* Startup this thread! */
start() ;
start("RsServer main") ;
return 1;
}