mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-11 22:43:06 +02:00
net: drop cs_sendProcessing
SendMessages() is now protected g_msgproc_mutex; so this additional per-node mutex is redundant.
This commit is contained in:
@@ -2005,10 +2005,7 @@ void CConnman::ThreadMessageHandler()
|
||||
if (flagInterruptMsgProc)
|
||||
return;
|
||||
// Send messages
|
||||
{
|
||||
LOCK(pnode->cs_sendProcessing);
|
||||
m_msgproc->SendMessages(pnode);
|
||||
}
|
||||
m_msgproc->SendMessages(pnode);
|
||||
|
||||
if (flagInterruptMsgProc)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user