diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-04-10 11:39:42 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-04-13 07:19:42 -0500 |
commit | 3b59529e71549976eaa99b75f40df732a8b73d6d (patch) | |
tree | eceb0bc28675b0a0a7ecf2d052c15ac8546d21ef /host/docs/configuration.dox | |
parent | b6ff5fd2837bed63b09798e4fa187b169b7dcdc2 (diff) | |
download | uhd-3b59529e71549976eaa99b75f40df732a8b73d6d.tar.gz uhd-3b59529e71549976eaa99b75f40df732a8b73d6d.tar.bz2 uhd-3b59529e71549976eaa99b75f40df732a8b73d6d.zip |
multi_usrp: Approximate legacy behaviour for recv_async_msg()
When using multi_usrp with an RFNoC device, the previous behaviour was
to throw an exception when calling recv_async_msg() so users would know
they're not supposed to call it (calling tx_stream::recv_async_msg is
preferred). However, this breaks too many existing applications.
Instead, we keep a weak pointer to the streamer, the same way that older
devices do, and query the async message from that. This means that
calling recv_async_msg() when there are multiple streamers can lead to
unexpected behaviour, but that's a general issue with
multi_usrp::recv_async_msg() and this way, the RFNoC devices now behave
like older devices do.
Diffstat (limited to 'host/docs/configuration.dox')
0 files changed, 0 insertions, 0 deletions