Re: How to detect a thread is aborted and restart it?


Boie, Andrew P
 

Ø However, it seems not possible to restart the same thread with the same struct thread variable, with the function “k_thread_create”.  When the function is called, the system is stuck. Has anyone tried to restart an aborted thread before?

 

 

Hi Li,

 

Yes this should be possible, we do this all the time (recycle thread objects) in our test cases.

Have you had a chance to debug this further? Where does it get stuck for you?

 

Andrew

Join devel@lists.zephyrproject.org to automatically receive all group messages.