Create a scheduler thread for lightweight tasks

This commit is contained in:
Gavin Andresen
2015-04-03 11:50:06 -04:00
parent 68d370bec4
commit ddd0acd3db
4 changed files with 14 additions and 4 deletions

View File

@@ -8,6 +8,7 @@
#include <string>
class CScheduler;
class CWallet;
namespace boost
@@ -20,7 +21,7 @@ extern CWallet* pwalletMain;
void StartShutdown();
bool ShutdownRequested();
void Shutdown();
bool AppInit2(boost::thread_group& threadGroup);
bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler);
/** The help message mode determines what help message to show */
enum HelpMessageMode {