From d58a3c4cabbeabf044526cf4748343d7ebf50935 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 16 Jun 2011 17:04:07 -0700 Subject: uhd: re-worded the fast-path thread app notes --- host/docs/general.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'host') 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, -- cgit v1.2.3