This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX, check if task is running

Hi guys,
I'm using the Keil RTX (RTOS) and I would like to ask, how to check if a particular task is running or not? In another words, I need to get the state of the task.
I've searched though the help, but I found nothing :(

Thanks and best regards,
George

Parents
  • Hm, sorry, maybe I used the wrong words. Of course only one task is running at a time, but I need to check if annother specific task is in READY or in INACTIVE state. Basically I need a function like this one:

    task_state = os_get_task_state(tid);

    But like I said, I found no such thing in the reference manual...

    Thanks!

Reply
  • Hm, sorry, maybe I used the wrong words. Of course only one task is running at a time, but I need to check if annother specific task is in READY or in INACTIVE state. Basically I need a function like this one:

    task_state = os_get_task_state(tid);

    But like I said, I found no such thing in the reference manual...

    Thanks!

Children
No data