File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1717#include < utility>
1818
1919/* *
20- * MainSignalsInstance manages a list of shared_ptr<CValidationInterface> callbacks.
20+ * MainSignalsImpl manages a list of shared_ptr<CValidationInterface> callbacks.
2121 *
2222 * A std::unordered_map is used to track what callbacks are currently
2323 * registered, and a std::list is used to store the callbacks that are
2424 * currently registered as well as any callbacks that are just unregistered
2525 * and about to be deleted when they are done executing.
2626 */
27- class MainSignalsInstance
27+ class MainSignalsImpl
2828{
2929private:
3030 Mutex m_mutex;
@@ -42,7 +42,7 @@ class MainSignalsInstance
4242 // our own queue here :(
4343 SingleThreadedSchedulerClient m_schedulerClient;
4444
45- explicit MainSignalsInstance (CScheduler& scheduler LIFETIMEBOUND) : m_schedulerClient(scheduler) {}
45+ explicit MainSignalsImpl (CScheduler& scheduler LIFETIMEBOUND) : m_schedulerClient(scheduler) {}
4646
4747 void Register (std::shared_ptr<CValidationInterface> callbacks)
4848 {
@@ -94,7 +94,7 @@ static CMainSignals g_signals;
9494void CMainSignals::RegisterBackgroundSignalScheduler (CScheduler& scheduler)
9595{
9696 assert (!m_internals);
97- m_internals = std::make_unique<MainSignalsInstance >(scheduler);
97+ m_internals = std::make_unique<MainSignalsImpl >(scheduler);
9898}
9999
100100void CMainSignals::UnregisterBackgroundSignalScheduler ()
Original file line number Diff line number Diff line change @@ -175,10 +175,10 @@ class CValidationInterface {
175175 friend class ValidationInterfaceTest ;
176176};
177177
178- class MainSignalsInstance ;
178+ class MainSignalsImpl ;
179179class CMainSignals {
180180private:
181- std::unique_ptr<MainSignalsInstance > m_internals;
181+ std::unique_ptr<MainSignalsImpl > m_internals;
182182
183183 friend void ::RegisterSharedValidationInterface (std::shared_ptr<CValidationInterface>);
184184 friend void ::UnregisterValidationInterface (CValidationInterface*);
You can’t perform that action at this time.
0 commit comments