MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / get_process_list

Function get_process_list

mcp/pacemaker.c:117–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117static uint32_t
118get_process_list(void)
119{
120 int lpc = 0;
121 uint32_t procs = crm_proc_plugin;
122
123 for (lpc = 0; lpc < SIZEOF(pcmk_children); lpc++) {
124 if (pcmk_children[lpc].pid != 0) {
125 procs |= pcmk_children[lpc].flag;
126 }
127 }
128 return procs;
129}
130
131static void
132pcmk_process_exit(pcmk_child_t *child)

Callers 4

pcmk_process_exitFunction · 0.70
start_childFunction · 0.70
update_process_peersFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected