aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp2/sdr_lib/clip_and_round_reg.v
diff options
context:
space:
mode:
authorSamuel O'Brien <sam.obrien@ni.com>2020-07-27 15:01:59 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-07-28 16:16:54 -0500
commitc91cf54766c239a0a4d00777a208358bdbf71276 (patch)
treec7c6df646f727f1d1c8420116b4dd6a6b93097db /fpga/usrp2/sdr_lib/clip_and_round_reg.v
parent31a107747ac28c482ea33877750f37712f5c4e92 (diff)
downloaduhd-c91cf54766c239a0a4d00777a208358bdbf71276.tar.gz
uhd-c91cf54766c239a0a4d00777a208358bdbf71276.tar.bz2
uhd-c91cf54766c239a0a4d00777a208358bdbf71276.zip
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>
Diffstat (limited to 'fpga/usrp2/sdr_lib/clip_and_round_reg.v')
0 files changed, 0 insertions, 0 deletions