diff options
author | Josh Blum <josh@joshknows.com> | 2011-06-16 17:04:07 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-16 17:04:07 -0700 |
commit | d58a3c4cabbeabf044526cf4748343d7ebf50935 (patch) | |
tree | a7a83dd6e7fd51d89a000a5465e5933ae1cf2a4d /host/docs | |
parent | 16e783aa9c7257717d80a375ffeb592d0386f911 (diff) | |
download | uhd-d58a3c4cabbeabf044526cf4748343d7ebf50935.tar.gz uhd-d58a3c4cabbeabf044526cf4748343d7ebf50935.tar.bz2 uhd-d58a3c4cabbeabf044526cf4748343d7ebf50935.zip |
uhd: re-worded the fast-path thread app notes
Diffstat (limited to 'host/docs')
-rw-r--r-- | host/docs/general.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/docs/general.rst b/host/docs/general.rst index cc00fc0f9..7952abb8b 100644 --- a/host/docs/general.rst +++ b/host/docs/general.rst @@ -107,10 +107,10 @@ For the most part, UHD is thread-safe. Please observe the following limitations: **Fast-path thread requirements:** -It is safe to call send() and recv() simultaneously. However, -it is not safe to call recv() simultaneously from different thread contexts. -The same rule applies for recv(), send(), and recv_async_msg(). -One thread context per fast-path device method at a time. +There are three fast-path methods for a device: send(), recv(), and recv_async_msg(). +All three methods are thread-safe and can be called from different thread contexts. +For performance, the user should call each method from a separate thread context. +These methods can also be used in a non-blocking fashion by using a timeout of zero. **Slow-path thread requirements:** It is safe to change multiple settings simultaneously. However, |