Skip to content

Commit d86e357

Browse files
asemjonovscarlescufi
authored andcommitted
kernel: clarify documentation for k_work_reschedule_for_queue
k_work_reschedule_for_queue can handle work items in any state, even idle. Signed-off-by: Al Semjonovs <asemjonovs@google.com>
1 parent 4858d99 commit d86e357

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/zephyr/kernel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3499,9 +3499,9 @@ extern int k_work_schedule(struct k_work_delayable *dwork,
34993499
/** @brief Reschedule a work item to a queue after a delay.
35003500
*
35013501
* Unlike k_work_schedule_for_queue() this function can change the deadline of
3502-
* a scheduled work item, and will schedule a work item that isn't idle
3503-
* (e.g. is submitted or running). This function does not affect ("unsubmit")
3504-
* a work item that has been submitted to a queue.
3502+
* a scheduled work item, and will schedule a work item that is in any state
3503+
* (e.g. is idle, submitted, or running). This function does not affect
3504+
* ("unsubmit") a work item that has been submitted to a queue.
35053505
*
35063506
* @funcprops \isr_ok
35073507
*

0 commit comments

Comments
 (0)