From 04b4971d8c99aa6c9b5a87e01c80ffbf24fa5b48 Mon Sep 17 00:00:00 2001 From: sg Date: Wed, 11 Feb 2015 21:12:49 +0100 Subject: [PATCH] Added comment that sys_thread_new must not fail (ports have to assert this!) --- src/include/lwip/sys.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/lwip/sys.h b/src/include/lwip/sys.h index 05527315..f8092e2c 100644 --- a/src/include/lwip/sys.h +++ b/src/include/lwip/sys.h @@ -215,6 +215,7 @@ void sys_mbox_set_invalid(sys_mbox_t *mbox); /** The only thread function: * Creates a new thread + * ATTENTION: although this function returns a value, it MUST NOT FAIL (ports have to assert this!) * @param name human-readable name for the thread (used for debugging purposes) * @param thread thread-function * @param arg parameter passed to 'thread'