mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 14:20:44 -04:00
add names to gxs threads
This commit is contained in:
parent
bc23c2f7b9
commit
f9d4a0cbfb
3 changed files with 17 additions and 17 deletions
|
@ -71,9 +71,9 @@ void RsServer::ConfigFinalSave()
|
||||||
mConfigMgr->completeConfiguration();
|
mConfigMgr->completeConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RsServer::startServiceThread(RsTickingThread *t)
|
void RsServer::startServiceThread(RsTickingThread *t, const std::string &threadName)
|
||||||
{
|
{
|
||||||
t->start() ;
|
t->start(threadName) ;
|
||||||
mRegisteredServiceThreads.push_back(t) ;
|
mRegisteredServiceThreads.push_back(t) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -120,8 +120,8 @@ class RsServer: public RsControl, public RsTickingThread
|
||||||
public:
|
public:
|
||||||
/* Config */
|
/* Config */
|
||||||
|
|
||||||
virtual void ConfigFinalSave( );
|
virtual void ConfigFinalSave( );
|
||||||
virtual void startServiceThread(RsTickingThread *t) ;
|
virtual void startServiceThread(RsTickingThread *t, const std::string &threadName) ;
|
||||||
|
|
||||||
/************* Rs shut down function: in upnp 'port lease time' bug *****************/
|
/************* Rs shut down function: in upnp 'port lease time' bug *****************/
|
||||||
|
|
||||||
|
|
|
@ -1768,27 +1768,27 @@ int RsServer::StartupRetroShare()
|
||||||
//rsWire = mWire;
|
//rsWire = mWire;
|
||||||
|
|
||||||
/*** start up GXS core runner ***/
|
/*** start up GXS core runner ***/
|
||||||
startServiceThread(mGxsIdService);
|
startServiceThread(mGxsIdService, "gxs id");
|
||||||
startServiceThread(mGxsCircles);
|
startServiceThread(mGxsCircles, "gxs circle");
|
||||||
startServiceThread(mPosted);
|
startServiceThread(mPosted, "gxs posted");
|
||||||
#if RS_USE_WIKI
|
#if RS_USE_WIKI
|
||||||
startServiceThread(mWiki);
|
startServiceThread(mWiki, "gxs wiki");
|
||||||
#endif
|
#endif
|
||||||
startServiceThread(mGxsForums);
|
startServiceThread(mGxsForums, "gxs forums");
|
||||||
startServiceThread(mGxsChannels);
|
startServiceThread(mGxsChannels, "gxs channels");
|
||||||
|
|
||||||
//createThread(*mPhoto);
|
//createThread(*mPhoto);
|
||||||
//createThread(*mWire);
|
//createThread(*mWire);
|
||||||
|
|
||||||
// cores ready start up GXS net servers
|
// cores ready start up GXS net servers
|
||||||
startServiceThread(gxsid_ns);
|
startServiceThread(gxsid_ns, "gxs id ns");
|
||||||
startServiceThread(gxscircles_ns);
|
startServiceThread(gxscircles_ns, "gxs circle ns");
|
||||||
startServiceThread(posted_ns);
|
startServiceThread(posted_ns, "gxs posted ns");
|
||||||
#if RS_USE_WIKI
|
#if RS_USE_WIKI
|
||||||
startServiceThread(wiki_ns);
|
startServiceThread(wiki_ns, "gxs wiki ns");
|
||||||
#endif
|
#endif
|
||||||
startServiceThread(gxsforums_ns);
|
startServiceThread(gxsforums_ns, "gxs forums ns");
|
||||||
startServiceThread(gxschannels_ns);
|
startServiceThread(gxschannels_ns, "gxs channels ns");
|
||||||
|
|
||||||
//createThread(*photo_ns);
|
//createThread(*photo_ns);
|
||||||
//createThread(*wire_ns);
|
//createThread(*wire_ns);
|
||||||
|
@ -1834,7 +1834,7 @@ int RsServer::StartupRetroShare()
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Startup this thread! */
|
/* Startup this thread! */
|
||||||
start("RsServer main") ;
|
start("rs main") ;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue