mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
add static thread names
This commit is contained in:
parent
5b67654530
commit
f16ee97093
7 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue