Optimized startup of RetroShare by removing two unnecessary calls to AuthGPGimpl::storeAllKeys.

Fixed small hangs of RetroShare by removing the core lock in RsServer::ConfigGetDataRates. Is that needed?

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4725 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-12-12 09:37:03 +00:00
parent ef57cd44b3
commit e150e31401
5 changed files with 54 additions and 23 deletions

View file

@ -146,7 +146,7 @@ const std::string& Hash();
* Checks if configuration has changed
*/
void IndicateConfigChanged();
void setHash(std::string h);
void setHash(const std::string& h);
RsMutex cfgMtx;
@ -157,7 +157,7 @@ void setHash(std::string h);
/**
* This sets the name of the pqi configuation file
*/
void setFilename(std::string name);
void setFilename(const std::string& name);
/**
* @param an index for the Confind which contains list of configuarations that can be tracked