diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2015-04-03 11:50:06 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2015-05-14 12:50:41 -0400 |
commit | ddd0acd3dbbbf3e19d2379fc9b24e7ef5c2a8adb (patch) | |
tree | 53c830bfbbd12bd272c99d4f38f56bb109ce761d /src/init.h | |
parent | 68d370bec44dd6c0b9bdc76308de1a96fe34e5b8 (diff) |
Create a scheduler thread for lightweight tasks
Diffstat (limited to 'src/init.h')
-rw-r--r-- | src/init.h | 3 |
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 { |