From d681158de36a4d3c1545c40cb112fa805d8cfaa0 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Wed, 24 Jan 2018 10:16:51 -0800 Subject: [PATCH 1/2] Clarify that NULL blocks forever --- rmw/include/rmw/rmw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmw/include/rmw/rmw.h b/rmw/include/rmw/rmw.h index 3186ccc8..746aba54 100644 --- a/rmw/include/rmw/rmw.h +++ b/rmw/include/rmw/rmw.h @@ -323,7 +323,7 @@ rmw_destroy_wait_set(rmw_wait_set_t * wait_set); * \param clients Array of clients to wait on * \param wait_set Storage for the wait set * \param wait_timeout - * If negative, block indefinitely or until a condition is ready. + * If NULL, block until a condition is ready * If zero, check only for immediately available conditions and don't block. * Else, this represents the maximum time to wait for a response from the * wait set. From c435fe3a66e73ff0ee41267f35654bd250a11b28 Mon Sep 17 00:00:00 2001 From: Shane Loretz Date: Wed, 24 Jan 2018 10:30:51 -0800 Subject: [PATCH 2/2] Re-add period --- rmw/include/rmw/rmw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmw/include/rmw/rmw.h b/rmw/include/rmw/rmw.h index 746aba54..6a9631fd 100644 --- a/rmw/include/rmw/rmw.h +++ b/rmw/include/rmw/rmw.h @@ -323,7 +323,7 @@ rmw_destroy_wait_set(rmw_wait_set_t * wait_set); * \param clients Array of clients to wait on * \param wait_set Storage for the wait set * \param wait_timeout - * If NULL, block until a condition is ready + * If NULL, block until a condition is ready. * If zero, check only for immediately available conditions and don't block. * Else, this represents the maximum time to wait for a response from the * wait set.