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 17
17
#include < utility>
18
18
19
19
/* *
20
- * MainSignalsInstance manages a list of shared_ptr<CValidationInterface> callbacks.
20
+ * MainSignalsImpl manages a list of shared_ptr<CValidationInterface> callbacks.
21
21
*
22
22
* A std::unordered_map is used to track what callbacks are currently
23
23
* registered, and a std::list is used to store the callbacks that are
24
24
* currently registered as well as any callbacks that are just unregistered
25
25
* and about to be deleted when they are done executing.
26
26
*/
27
- class MainSignalsInstance
27
+ class MainSignalsImpl
28
28
{
29
29
private:
30
30
Mutex m_mutex;
@@ -42,7 +42,7 @@ class MainSignalsInstance
42
42
// our own queue here :(
43
43
SingleThreadedSchedulerClient m_schedulerClient;
44
44
45
- explicit MainSignalsInstance (CScheduler& scheduler LIFETIMEBOUND) : m_schedulerClient(scheduler) {}
45
+ explicit MainSignalsImpl (CScheduler& scheduler LIFETIMEBOUND) : m_schedulerClient(scheduler) {}
46
46
47
47
void Register (std::shared_ptr<CValidationInterface> callbacks)
48
48
{
@@ -94,7 +94,7 @@ static CMainSignals g_signals;
94
94
void CMainSignals::RegisterBackgroundSignalScheduler (CScheduler& scheduler)
95
95
{
96
96
assert (!m_internals);
97
- m_internals = std::make_unique<MainSignalsInstance >(scheduler);
97
+ m_internals = std::make_unique<MainSignalsImpl >(scheduler);
98
98
}
99
99
100
100
void CMainSignals::UnregisterBackgroundSignalScheduler ()
Original file line number Diff line number Diff line change @@ -175,10 +175,10 @@ class CValidationInterface {
175
175
friend class ValidationInterfaceTest ;
176
176
};
177
177
178
- class MainSignalsInstance ;
178
+ class MainSignalsImpl ;
179
179
class CMainSignals {
180
180
private:
181
- std::unique_ptr<MainSignalsInstance > m_internals;
181
+ std::unique_ptr<MainSignalsImpl > m_internals;
182
182
183
183
friend void ::RegisterSharedValidationInterface (std::shared_ptr<CValidationInterface>);
184
184
friend void ::UnregisterValidationInterface (CValidationInterface*);
You can’t perform that action at this time.
0 commit comments