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

Method service_on_timeout

lib_acl_cpp/src/master/master_threads.cpp:327–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327int master_threads::service_on_timeout(void* ctx, ACL_VSTREAM* client)
328{
329 master_threads* mt = (master_threads *) ctx;
330 acl_assert(mt);
331
332 socket_stream* stream = (socket_stream*) client->context;
333 if (stream == NULL) {
334 logger_fatal("client->context is null!");
335 }
336
337 acl_assert(mt != NULL);
338
339 return mt->thread_on_timeout(stream) == true ? 0 : -1;
340}
341
342void master_threads::service_on_close(void* ctx, ACL_VSTREAM* client)
343{

Callers

nothing calls this directly

Calls 1

thread_on_timeoutMethod · 0.45

Tested by

no test coverage detected