aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2021-08-19 08:27:24 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-08-20 15:54:56 -0500
commit0382a1c1cc8f5296025420507c8dc9d409a39502 (patch)
tree378403c0118c762cdcd3d529bd065a273a92de4f /host/tests
parent3a36577a30ead6d616ffb8cc23fe9b57b40a2647 (diff)
downloaduhd-0382a1c1cc8f5296025420507c8dc9d409a39502.tar.gz
uhd-0382a1c1cc8f5296025420507c8dc9d409a39502.tar.bz2
uhd-0382a1c1cc8f5296025420507c8dc9d409a39502.zip
uhd: streamer: Restore original recv(0) semantics
A recv() of zero samples on an RX stream should return immediately (i.e., without respect to the timeout and regardless of the availability of samples), surfacing any stream error conditions via metadata. This convention was broken in a2f10ee9, causing a recv() of zero samples to wait for the entire timeout period and then return ERROR_CODE_TIMEOUT if no samples are available. This commit restores the desired semantics.
Diffstat (limited to 'host/tests')
0 files changed, 0 insertions, 0 deletions