mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +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:
parent
1e78f566d5
commit
bf12abe454
8 changed files with 18 additions and 60 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue