diff options
| author | Gavin Andresen <[email protected]> | 2015-04-03 11:50:06 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2015-05-14 12:50:41 -0400 |
| commit | ddd0acd3dbbbf3e19d2379fc9b24e7ef5c2a8adb (patch) | |
| tree | 53c830bfbbd12bd272c99d4f38f56bb109ce761d /src/init.h | |
| parent | CScheduler unit test (diff) | |
| download | discoin-ddd0acd3dbbbf3e19d2379fc9b24e7ef5c2a8adb.tar.xz discoin-ddd0acd3dbbbf3e19d2379fc9b24e7ef5c2a8adb.zip | |
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 d451f65be..dcb2b2936 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 { |