diff options
author | Steven Koo <steven.koo@ni.com> | 2021-01-07 13:11:02 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-01-21 12:47:17 -0600 |
commit | a2f10eed677861dfdb4a158c456a5e39302fe96e (patch) | |
tree | c1b1623c2247af48a9ca9fe9675c8736dd6e1d1e /mpm/python/usrp_mpm/periph_manager/base.py | |
parent | 92cb632ce1e443b1b3cffdc314cab57943b39f8c (diff) | |
download | uhd-a2f10eed677861dfdb4a158c456a5e39302fe96e.tar.gz uhd-a2f10eed677861dfdb4a158c456a5e39302fe96e.tar.bz2 uhd-a2f10eed677861dfdb4a158c456a5e39302fe96e.zip |
uhd: Check for overflow after timeout buff read
Error processing has been moved to another thread, so it's possible
that consecutive recv calls may miss the signalling that
an overflow occurred. We have no guarantee that the flag had been
set by the time the second recv call to find the errors occurs.
This adds another check for an overflow after calling
_get_aligned_buffs with a min 1ms timeout. Hopefully this is long
enough for the error to propogate, but it's not guaranteed.
Signed-off-by: Steven Koo <steven.koo@ni.com>
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/base.py')
0 files changed, 0 insertions, 0 deletions