MCPcopy Create free account
hub / github.com/acl-dev/acl / read_wait

Method read_wait

lib_acl_cpp/src/stream/istream.cpp:257–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257bool istream::read_wait(int timeo) const
258{
259 if (acl_vstream_can_read(stream_) == 1) {
260 return true;
261 }
262 return acl_read_wait_ms(ACL_VSTREAM_SOCK(stream_), timeo) == 0;
263}
264
265bool istream::gets_peek(string& buf, bool nonl /* = true */,
266 bool clear /* = false */, int max /* = 0 */)

Callers 13

mainFunction · 0.80
accept_callbackMethod · 0.80
setup_sslMethod · 0.80
accept_callbackMethod · 0.80
open_callbackMethod · 0.80
on_acceptMethod · 0.80
rpc_onoverMethod · 0.80
on_acceptMethod · 0.80
rpc_onoverMethod · 0.80
accept_callbackMethod · 0.80
on_acceptMethod · 0.80
runMethod · 0.80

Calls 2

acl_vstream_can_readFunction · 0.85
acl_read_wait_msFunction · 0.85

Tested by

no test coverage detected