diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2016-12-27 17:13:04 -0500 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2017-01-03 17:56:20 -0500 |
commit | d3d7056d2a562301b3770c4ede1dfc8ffb00cf4b (patch) | |
tree | bf1afce0daac6bf2e8b71a181e2bcdf8b27e655c /src/net.h | |
parent | 0985052319263bd7ca9744af3504682b3ea8e21a (diff) |
net: make net processing interruptible
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -460,8 +460,8 @@ struct CombinerAll // Signals for message handling struct CNodeSignals { - boost::signals2::signal<bool (CNode*, CConnman&), CombinerAll> ProcessMessages; - boost::signals2::signal<bool (CNode*, CConnman&), CombinerAll> SendMessages; + boost::signals2::signal<bool (CNode*, CConnman&, std::atomic<bool>&), CombinerAll> ProcessMessages; + boost::signals2::signal<bool (CNode*, CConnman&, std::atomic<bool>&), CombinerAll> SendMessages; boost::signals2::signal<void (CNode*, CConnman&)> InitializeNode; boost::signals2::signal<void (NodeId, bool&)> FinalizeNode; }; |