kernel: work_q: Fix k_work_queue_start documentation
Inform that the queue has to be initialized in zeroed memory or with the k_work_queue_init before use. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
d9aa414831
commit
c42cde5b69
2 changed files with 10 additions and 4 deletions
|
@ -3061,7 +3061,9 @@ void k_work_queue_init(struct k_work_q *queue);
|
|||
* This configures the work queue thread and starts it running. The function
|
||||
* should not be re-invoked on a queue.
|
||||
*
|
||||
* @param queue pointer to the queue structure.
|
||||
* @param queue pointer to the queue structure. It must be initialized
|
||||
* in zeroed/bss memory or with @ref k_work_queue_init before
|
||||
* use.
|
||||
*
|
||||
* @param stack pointer to the work thread stack area.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue