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

Method service_main

lib_acl_cpp/src/master/master_trigger.cpp:87–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85//////////////////////////////////////////////////////////////////////////
86
87void master_trigger::service_main(void* ctx)
88{
89 master_trigger* mt = (master_trigger *) ctx;
90 acl_assert(mt != NULL);
91
92#ifndef ACL_WINDOWS
93 if (mt->daemon_mode_) {
94 acl_watchdog_pat();
95 }
96#endif
97 mt->on_trigger();
98}
99
100void master_trigger::service_pre_jail(void* ctx)
101{

Callers

nothing calls this directly

Calls 2

acl_watchdog_patFunction · 0.85
on_triggerMethod · 0.45

Tested by

no test coverage detected