MCPcopy Create free account
hub / github.com/LUX-Core/lux / EXCLUSIVE_LOCK_FUNCTION

Function EXCLUSIVE_LOCK_FUNCTION

src/net.cpp:2487–2493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2485}
2486
2487void CNode::BeginMessage(const char* pszCommand) EXCLUSIVE_LOCK_FUNCTION(cs_vSend)
2488{
2489 ENTER_CRITICAL_SECTION(cs_vSend);
2490 assert(ssSend.size() == 0);
2491 ssSend << CMessageHeader(pszCommand, 0);
2492 LogPrint("net", "sending: %s ", SanitizeString(pszCommand));
2493}
2494
2495void CNode::AbortMessage() UNLOCK_FUNCTION(cs_vSend)
2496{

Callers

nothing calls this directly

Calls 4

CMessageHeaderClass · 0.85
LogPrintFunction · 0.85
SanitizeStringFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected