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

Function mainloop_tests

fencing/test.c:559–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559static void
560mainloop_tests(void)
561{
562 trig = mainloop_add_trigger(G_PRIORITY_HIGH, trigger_iterate_mainloop_tests, NULL);
563 mainloop_set_trigger(trig);
564 mainloop_add_signal(SIGTERM, test_shutdown);
565
566 crm_info("Starting");
567 mainloop = g_main_new(FALSE);
568 g_main_run(mainloop);
569}
570
571int
572main(int argc, char ** argv)

Callers 1

mainFunction · 0.85

Calls 3

mainloop_add_triggerFunction · 0.85
mainloop_set_triggerFunction · 0.85
mainloop_add_signalFunction · 0.85

Tested by

no test coverage detected