net: drop cs_sendProcessing

SendMessages() is now protected g_msgproc_mutex; so this additional
per-node mutex is redundant.
This commit is contained in:
Anthony Towns
2022-09-13 12:22:18 +10:00
parent 1e78f566d5
commit bf12abe454
8 changed files with 18 additions and 60 deletions

View File

@@ -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;