kernel: thread: Typo fixes in comment
Typo fixes in comment to k_thread_foreach(). Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
parent
4b120c27f2
commit
2df1829c55
|
@ -48,8 +48,8 @@ void k_thread_foreach(k_thread_user_cb_t user_cb, void *user_data)
|
|||
|
||||
/*
|
||||
* Lock is needed to make sure that the _kernel.threads is not being
|
||||
* modified by the user_cb either dircetly or indircetly.
|
||||
* The indircet ways are through calling k_thread_create and
|
||||
* modified by the user_cb either directly or indirectly.
|
||||
* The indirect ways are through calling k_thread_create and
|
||||
* k_thread_abort from user_cb.
|
||||
*/
|
||||
key = irq_lock();
|
||||
|
|
Loading…
Reference in a new issue