lnls-dig / halcs

Hardware Abstraction Layer for Control Systems
GNU General Public License v3.0
1 stars 4 forks source link

[dev_io] signal_actor actor does not exit cleanly and leaks on exit #171

Open lerwys opened 4 years ago

lerwys commented 4 years ago

Problem: We are not saving the generated pipe when starting the signal_actor thread here: https://github.com/lnls-dig/halcs/blob/master/src/dev_io/dev_io_core.c#L1549

Thus, we leak when destroying dev_io. Even worse, we should refactor this thread to avid dealing with signals directly.