MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / isReadReady

Method isReadReady

source/kernel/kunixsocket.cpp:117–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117bool KUnixSocketObject::isReadReady() {
118 //BOXEDWINE_CRITICAL_SECTION_WITH_CONDITION(this->lockCond);
119 return this->inClosed || this->recvBuffer.size_used() || this->pendingConnections.size() || this->msgs.size();
120}
121
122bool KUnixSocketObject::isWriteReady() {
123 return !connection.expired();

Callers

nothing calls this directly

Calls 2

size_usedMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected