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

Method run

lib_acl_cpp/src/master/master_threads.cpp:22–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20static bool __has_called = false;
21
22void master_threads::run(int argc, char** argv)
23{
24 // ���� acl ��������ܵĶ��߳�ģ��
25 acl_threads_server_main(argc, argv, service_main, this,
26 ACL_MASTER_SERVER_ON_LISTEN, service_on_listen,
27 ACL_MASTER_SERVER_ON_ACCEPT, service_on_accept,
28 ACL_MASTER_SERVER_ON_HANDSHAKE, service_on_handshake,
29 ACL_MASTER_SERVER_ON_TIMEOUT, service_on_timeout,
30 ACL_MASTER_SERVER_ON_CLOSE, service_on_close,
31 ACL_MASTER_SERVER_PRE_INIT, service_pre_jail,
32 ACL_MASTER_SERVER_POST_INIT, service_init,
33 ACL_MASTER_SERVER_EXIT_TIMER, service_exit_timer,
34 ACL_MASTER_SERVER_PRE_EXIT, service_pre_exit,
35 ACL_MASTER_SERVER_EXIT, service_exit,
36 ACL_MASTER_SERVER_THREAD_INIT, thread_init,
37 ACL_MASTER_SERVER_THREAD_EXIT, thread_exit,
38 ACL_MASTER_SERVER_THREAD_INIT_CTX, this,
39 ACL_MASTER_SERVER_THREAD_EXIT_CTX, this,
40 ACL_MASTER_SERVER_SIGHUP, service_on_sighup,
41 ACL_MASTER_SERVER_BOOL_TABLE, conf_.get_bool_cfg(),
42 ACL_MASTER_SERVER_INT64_TABLE, conf_.get_int64_cfg(),
43 ACL_MASTER_SERVER_INT_TABLE, conf_.get_int_cfg(),
44 ACL_MASTER_SERVER_STR_TABLE, conf_.get_str_cfg(),
45 ACL_MASTER_SERVER_END);
46}
47
48const char* master_threads::get_conf_path() const
49{

Callers

nothing calls this directly

Calls 5

acl_threads_server_mainFunction · 0.85
get_bool_cfgMethod · 0.80
get_int64_cfgMethod · 0.80
get_int_cfgMethod · 0.80
get_str_cfgMethod · 0.80

Tested by

no test coverage detected