aboutsummaryrefslogtreecommitdiff
path: root/src/init.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2015-04-03 11:50:06 -0400
committerGavin Andresen <gavinandresen@gmail.com>2015-05-14 12:50:41 -0400
commitddd0acd3dbbbf3e19d2379fc9b24e7ef5c2a8adb (patch)
tree53c830bfbbd12bd272c99d4f38f56bb109ce761d /src/init.h
parent68d370bec44dd6c0b9bdc76308de1a96fe34e5b8 (diff)
downloadbitcoin-ddd0acd3dbbbf3e19d2379fc9b24e7ef5c2a8adb.tar.xz
Create a scheduler thread for lightweight tasks
Diffstat (limited to 'src/init.h')
-rw-r--r--src/init.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/init.h b/src/init.h
index d451f65be9..dcb2b29360 100644
--- a/src/init.h
+++ b/src/init.h
@@ -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 {