mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Merge #9289: net: drop boost::thread_group
67ee4ecnet: misc header cleanups (Cory Fields)8b3159enet: make proxy receives interruptible (Cory Fields)5cb0fcenet: remove thread_interrupted catch (Cory Fields)d3d7056net: make net processing interruptible (Cory Fields)0985052net: make net interruptible (Cory Fields)799df91net: add CThreadInterrupt and InterruptibleSleep (Cory Fields)7325b15net: a few small cleanups before replacing boost threads (Cory Fields)
This commit is contained in:
@@ -39,13 +39,14 @@ bool GetNodeStateStats(NodeId nodeid, CNodeStateStats &stats);
|
||||
void Misbehaving(NodeId nodeid, int howmuch);
|
||||
|
||||
/** Process protocol messages received from a given node */
|
||||
bool ProcessMessages(CNode* pfrom, CConnman& connman);
|
||||
bool ProcessMessages(CNode* pfrom, CConnman& connman, std::atomic<bool>& interrupt);
|
||||
/**
|
||||
* Send queued protocol messages to be sent to a give node.
|
||||
*
|
||||
* @param[in] pto The node which we are sending messages to.
|
||||
* @param[in] connman The connection manager for that node.
|
||||
* @param[in] interrupt Interrupt condition for processing threads
|
||||
*/
|
||||
bool SendMessages(CNode* pto, CConnman& connman);
|
||||
bool SendMessages(CNode* pto, CConnman& connman, std::atomic<bool>& interrupt);
|
||||
|
||||
#endif // BITCOIN_NET_PROCESSING_H
|
||||
|
||||
Reference in New Issue
Block a user