Use API: k_thread_state_str() to get the status of the thread, but I don't know the length and content of the obtained string. I want to understand this part.I want to query the state of thread A to decide whether to create thread A again。
I've found that trying to create the same thread repeatedly causes the system to crash, and I hope to avoid it in the future.