No abort condition for main thread in hrt_main.c
If a signal (like SIGTERM, SIGINT) is sent to the realtime process, the termination code is not called, because there is no signal handler installed. The process is just terminated without the possibility to shut-down library instances et.
Since there is no other method to stop a process, the termination code (MdlTerminate(), pdserv_exit(), rtipc_exit()) is never called.
There should be signal handlers installed that set the running
to zero and make the threads exit gracefully.
Edited by Florian Pose