| 115 | } |
| 116 | |
| 117 | bool 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 | |
| 122 | bool KUnixSocketObject::isWriteReady() { |
| 123 | return !connection.expired(); |