From 2afc2a52d577d10a34b439841dd0479323e0bbef Mon Sep 17 00:00:00 2001 From: goldsimon Date: Thu, 6 Oct 2016 13:25:11 +0200 Subject: [PATCH] Fix comment on sys_mbox_new() (bug #49279) --- src/include/lwip/sys.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/sys.h b/src/include/lwip/sys.h index f8804df4..bb06a404 100644 --- a/src/include/lwip/sys.h +++ b/src/include/lwip/sys.h @@ -160,9 +160,11 @@ typedef void (*lwip_thread_fn)(void *arg); /** * @ingroup sys_mutex - * Create a new mutex + * Create a new mutex. + * Note that mutexes are expected to not be taken recursively by the lwIP code, + * so both implementation types (recursive or non-recursive) should work. * @param mutex pointer to the mutex to create - * @return a new mutex + * @return ERR_OK if successful, another err_t otherwise */ err_t sys_mutex_new(sys_mutex_t *mutex); /**