uhd/mpm/python
Samuel O'Brien c91cf54766 mpm: Fix more gevent errors on SIGTERM
Sometimes when running usrp_hwd.py in a terminal and then canceling it
with Ctrl+C, it prints a really large stacktrace into the terminal
resulting from an uncaught gevent BlockingSwitchOutError. This comes
from trying to block on Process#join inside a gevent signal handler.

This commit resolves this issue by simply triggering an event in the
signal handler which prompts a different non-daemon thread to join the
subprocesses and end the parent process.

Signed-off-by: Samuel O'Brien <sam.obrien@ni.com>
2020-07-28 16:16:54 -05:00
..
pyusrp_periphs Remove proto-RFNoC files 2019-11-26 12:16:25 -08:00
tests mpm: Make contextmanagers exception-safe 2020-03-03 15:16:06 -06:00
usrp_mpm mpm: Fix documentation and minor issues in sys_utils.GPIOBank 2020-07-28 15:57:00 -05:00
aurora_bist_test.py mpm: n3xx: Fix usage of UIO in Aurora tests 2018-03-01 18:34:28 -08:00
CMakeLists.txt mpm: cmake: removing unnecessary destination prefix 2019-07-17 11:44:47 -07:00
copy_python_module.cmake cmake: Update coding style to use lowercase commands 2018-11-14 14:10:09 -08:00
e320_bist mpm: e320/e310: Expose APIs to drive GPIO source via UHD 2020-01-23 11:37:51 -08:00
n3xx_bist mpm/mpmd: Expose APIs to drive GPIO sources 2020-01-23 11:37:51 -08:00
setup.py.in mpm: Update all license headers 2018-02-19 16:55:08 -08:00
socket_test.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
test_lmk.py mpm: Update all license headers 2018-02-19 16:55:08 -08:00
usrp_hwd.py mpm: Fix more gevent errors on SIGTERM 2020-07-28 16:16:54 -05:00
usrp_update_fs mpm: Add usrp_update_fs 2018-10-09 17:11:08 -07:00