-
Hello, I couldn't find the answer in Zephyr's docs for following aspect: is it safe to call BR, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't know what is the definition of safe for you. But your system should work without those threads, given that each To remove a thread from the Kernel, you should call |
Beta Was this translation helpful? Give feedback.
I don't know what is the definition of safe for you. But your system should work without those threads, given that each
k_thread_create()
is given a unique set of arguments.To remove a thread from the Kernel, you should call
k_thread_abort()
, then free all resources it had. Just grep through the source code and you'll see many usage ofk_thread_abort()
.