Hi All

 

Is there any function in Zephyr rtos to know about the Task state ?

 

Ex: Before suspending a task , check using task state whether the task is started or not and then suspend the task.

 

I know we can handle this using some flag.. But need to know any function call is available in zephyr for this task state.

 

Best regards

Mahendra