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

Method enable_write

lib_acl_cpp/src/stream/aio_ostream.cpp:210–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void aio_ostream::enable_write()
211{
212 acl_assert(stream_);
213
214 if ((status_ & STATUS_HOOKED_WRITE)) {
215 return;
216 }
217 status_ |= STATUS_HOOKED_WRITE;
218
219 acl_aio_add_write_hook(stream_, write_callback, this);
220}
221
222void aio_ostream::disable_write()
223{

Callers 4

aio_socket_streamMethod · 0.80
aio_fstreamMethod · 0.80
openMethod · 0.80

Calls 1

acl_aio_add_write_hookFunction · 0.85

Tested by

no test coverage detected