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

Method readable_await

lib_acl_cpp/src/stream/aio_istream.cpp:329–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329void aio_istream::readable_await(int timeout /* = 0 */)
330{
331 // ���������첽����ʱʱ��
332 if (timeout >= 0) {
333 ACL_AIO_SET_TIMEOUT(stream_, timeout);
334 }
335 acl_aio_enable_read(stream_, read_wakeup, this);
336}
337
338int aio_istream::read_callback(ACL_ASTREAM* stream acl_unused, void* ctx,
339 char* data, int len)

Callers 4

handle_connectMethod · 0.80
ws_read_waitMethod · 0.80
openMethod · 0.80
handle_connectMethod · 0.80

Calls 1

acl_aio_enable_readFunction · 0.85

Tested by

no test coverage detected