We configure a SIGALRM when receiving a signal to exit. If this SIGALRM
is fired, then the process did not properly exit. When this happens,
dump a trace to help with debugging.
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
"is a bug that ends up in a busy loop that "
"prevents clean shutdown.\n"
"Killing program forcefully.\n");
+#ifdef WPA_TRACE
+ wpa_trace_show("eloop: could not process SIGINT or SIGTERM in two seconds");
+#endif /* WPA_TRACE */
exit(1);
}
#endif /* CONFIG_NATIVE_WINDOWS */