From ec49b256e19348b44f171a986651f894f4db6e74 Mon Sep 17 00:00:00 2001 From: Shoji Morita Date: Wed, 21 Jun 2023 12:50:01 +0900 Subject: [PATCH] Update thread_attr.h Reflecting on the suggestion for the comments of thread_attr.h. Signed-off-by: Shoji Morita --- include/rcutils/thread_attr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/rcutils/thread_attr.h b/include/rcutils/thread_attr.h index 5a3b8d3a..dadb161e 100644 --- a/include/rcutils/thread_attr.h +++ b/include/rcutils/thread_attr.h @@ -92,6 +92,7 @@ rcutils_thread_attrs_init( * \brief Initialize list of thread attributes with a capacity. * \param[out] thread_attrs list of thread attributes to be initialized * \param[in] allocator memory allocator to be used + * \param[in] capacity initial capacity of the list of thread attributes * \return #RCUTILS_RET_OK if the structure was initialized succeessfully, or * \return #RCUTILS_RET_INVALID_ARGUMENT if any function arguments are invalid, or * \return #RCUTILS_RET_BAD_ALLOC if allocating memory failed, or