mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 03:22:34 -04:00
moved p3distrib loading to background thread.
* Added Cache Queues to p3distrib. * Created p3ThreadedService class. * added code to launch these threads. * debug code to see loading. Seems to be far too many called to gpg->verifySignature()... to look at. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3998 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1f9395058c
commit
71798f4e8a
4 changed files with 146 additions and 45 deletions
|
@ -2843,6 +2843,21 @@ int RsServer::StartupRetroShare()
|
|||
mBitDht->start();
|
||||
#endif
|
||||
|
||||
// startup the p3distrib threads (for cache loading).
|
||||
#ifndef MINIMAL_LIBRS
|
||||
mForums->start();
|
||||
mChannels->start();
|
||||
|
||||
#ifdef RS_USE_BLOGS
|
||||
mBlogs->start();
|
||||
#endif
|
||||
#endif // MINIMAL_LIBRS
|
||||
|
||||
/**************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
// create loopback device, and add to pqisslgrp.
|
||||
|
||||
SearchModule *mod = new SearchModule();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue