diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-09-27 17:13:13 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-09-27 17:13:13 -0700 |
commit | a9c83aca8f95a408c06fbdf470f69b71514a5f46 (patch) | |
tree | 0ad7ad28f4084831f65db0e4738b788f9338ebf9 /host/include | |
parent | f70dd85daa8a6b9e1762c9339532027e40a67018 (diff) | |
parent | 102b03f59afdfd3bc633639a1a126bfdff57af45 (diff) | |
download | uhd-a9c83aca8f95a408c06fbdf470f69b71514a5f46.tar.gz uhd-a9c83aca8f95a408c06fbdf470f69b71514a5f46.tar.bz2 uhd-a9c83aca8f95a408c06fbdf470f69b71514a5f46.zip |
Merge branch 'maint'
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/stream.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/include/uhd/stream.hpp b/host/include/uhd/stream.hpp index e8f9b7b7a..0dfc94c86 100644 --- a/host/include/uhd/stream.hpp +++ b/host/include/uhd/stream.hpp @@ -217,6 +217,10 @@ public: * the call will return after a single packet has been processed. * This may be useful to maintain packet boundaries in some cases. * + * Note on threading: recv() is *not* thread-safe, to avoid locking + * overhead. The application calling recv() is responsible for making + * sure that not more than one thread can call recv() at the same time. + * * \param buffs a vector of writable memory to fill with samples * \param nsamps_per_buff the size of each buffer in number of samples * \param metadata data to fill describing the buffer |