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

Function pcmk_shutdown

mcp/pacemaker.c:411–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411void
412pcmk_shutdown(int nsig)
413{
414 if (shutdown_trigger == NULL) {
415 shutdown_trigger = mainloop_add_trigger(G_PRIORITY_HIGH, pcmk_shutdown_worker, NULL);
416 }
417 mainloop_set_trigger(shutdown_trigger);
418}
419
420static void
421build_path(const char *path_c, mode_t mode)

Callers 4

cfg_connection_destroyFunction · 0.70
cluster_disconnect_cfgFunction · 0.70
pcmk_child_exitFunction · 0.70
pcmk_ipc_dispatchFunction · 0.70

Calls 2

mainloop_add_triggerFunction · 0.85
mainloop_set_triggerFunction · 0.85

Tested by

no test coverage detected