Added comment that sys_thread_new must not fail (ports have to assert this!)

This commit is contained in:
sg 2015-02-11 21:12:49 +01:00
parent 6c3f6cfd89
commit 04b4971d8c

View File

@ -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'