mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
add static thread names
This commit is contained in:
parent
5b67654530
commit
f16ee97093
@ -30,7 +30,7 @@ RsControlModule::RsControlModule(int argc, char **argv, StateTokenServer* sts, A
|
||||
this->argv = argv;
|
||||
// start worker thread
|
||||
if(full_control)
|
||||
start("RS ctrl module");
|
||||
start("resapi ctrl mod");
|
||||
else
|
||||
mRunState = RUNNING_OK_NO_FULL_CONTROL;
|
||||
|
||||
|
@ -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()
|
||||
|
@ -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
|
||||
|
@ -265,7 +265,7 @@ void RsGenExchange::tick()
|
||||
else
|
||||
{
|
||||
mIntegrityCheck = new RsGxsIntegrityCheck(mDataStore,mGixs);
|
||||
mIntegrityCheck->start();
|
||||
mIntegrityCheck->start("gxs integrity");
|
||||
mChecking = true;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -1834,7 +1834,7 @@ int RsServer::StartupRetroShare()
|
||||
}
|
||||
|
||||
/* Startup this thread! */
|
||||
start() ;
|
||||
start("RsServer main") ;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ namespace resource_api {
|
||||
TerminalApiClient::TerminalApiClient(ApiServer *api):
|
||||
mApiServer(api)
|
||||
{
|
||||
start();
|
||||
start("resapi terminal");
|
||||
}
|
||||
|
||||
TerminalApiClient::~TerminalApiClient()
|
||||
|
Loading…
Reference in New Issue
Block a user