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:
Flavio Ceolin 2021-08-23 15:04:58 -07:00 committed by Anas Nashif
commit c42cde5b69
2 changed files with 10 additions and 4 deletions

View file

@ -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.
*