MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / hasPendingEvents

Method hasPendingEvents

Libraries/HttpClient/HttpClient.cpp:1400–1406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1398}
1399
1400bool SC::HttpClientOperation::hasPendingEvents() const
1401{
1402 eventMutex.lock();
1403 const bool pending = eventCount > 0;
1404 eventMutex.unlock();
1405 return pending;
1406}
1407
1408SC::Result SC::HttpClientOperation::allocateResponseBuffer(size_t minimumSizeInBytes, size_t& bufferIndex,
1409 Span<char>& data)

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected