From ddd0acd3dbbbf3e19d2379fc9b24e7ef5c2a8adb Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Fri, 3 Apr 2015 11:50:06 -0400 Subject: Create a scheduler thread for lightweight tasks --- src/init.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/init.h') diff --git a/src/init.h b/src/init.h index d451f65be..dcb2b2936 100644 --- a/src/init.h +++ b/src/init.h @@ -8,6 +8,7 @@ #include +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 { -- cgit v1.2.3