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

Function proctl_monitor_cmd_quit

lib_acl/src/proctl/proctl_monitor.c:160–172  ·  view source on GitHub ↗

ֹͣ���еķ��񣬲��˳��������ƽ��� */

Source from the content-addressed store, hash-verified

158
159/* ֹͣ���еķ��񣬲��˳��������ƽ��� */
160static void proctl_monitor_cmd_quit(ACL_VSTREAM *client)
161{
162 const char *myname = "proctl_monitor_cmd_quit";
163
164 acl_msg_info("%s(%d): begin to quit ...", myname, __LINE__);
165 acl_msg_info("%s(%d): begin to stop all ...", myname, __LINE__);
166 proctl_monitor_stop_all_service(client);
167 acl_msg_info("%s(%d): stop all end", myname, __LINE__);
168 acl_msg_info("%s(%d): quit ok", myname, __LINE__);
169 acl_vstream_fprintf(client, "+OK|stopped all children, and quit now\r\n");
170 acl_vstream_close(client);
171 exit(0);
172}
173
174static int proctl_monitor_cmd_list(ACL_VSTREAM *client)
175{

Callers 1

proctl_monitor_mainFunction · 0.85

Calls 4

acl_msg_infoFunction · 0.85
acl_vstream_fprintfFunction · 0.85
acl_vstream_closeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…