diff options
| author | Matt Corallo <[email protected]> | 2017-04-10 14:55:49 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2017-07-07 11:33:18 -0400 |
| commit | 08096bbbc6d6fef86943ca8ce5e6de18744d58ea (patch) | |
| tree | b1199ad23ceb259db07d8f3fb3b6dbe4c996fefa /src/validationinterface.h | |
| parent | Add default arg to CScheduler to schedule() a callback now (diff) | |
| download | discoin-08096bbbc6d6fef86943ca8ce5e6de18744d58ea.tar.xz discoin-08096bbbc6d6fef86943ca8ce5e6de18744d58ea.zip | |
Support more than one CScheduler thread for serial clients
This will be used by CValidationInterface soon.
This requires a bit of work as we need to ensure that most of our
callbacks happen in-order (to avoid synchronization issues in
wallet) - we keep our own internal queue and push things onto it,
scheduling a queue-draining function immediately upon new
callbacks.
Diffstat (limited to 'src/validationinterface.h')
| -rw-r--r-- | src/validationinterface.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/validationinterface.h b/src/validationinterface.h index 8cae3c6db..fbfe273b1 100644 --- a/src/validationinterface.h +++ b/src/validationinterface.h @@ -75,8 +75,6 @@ private: friend void ::UnregisterAllValidationInterfaces(); public: - CMainSignals(); - /** Register a CScheduler to give callbacks which should run in the background (may only be called once) */ void RegisterBackgroundSignalScheduler(CScheduler& scheduler); /** Unregister a CScheduler to give callbacks which should run in the background - these callbacks will now be dropped! */ |