mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
core/msg: Document caution needed when having queue on the stack
This commit is contained in:
parent
87847b1de4
commit
b4a185132a
@ -375,6 +375,9 @@ unsigned msg_avail(void);
|
||||
* not be NULL.
|
||||
* @param[in] num Number of ``msg_t`` structures in array.
|
||||
* **MUST BE POWER OF TWO!**
|
||||
*
|
||||
* If array resides on the stack, the containing stack frame must never be
|
||||
* left, not even if it is the current thread's entry function.
|
||||
*/
|
||||
void msg_init_queue(msg_t *array, int num);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user