This function checks if the specified task function is the current
running task. _TaskRunning_ is only available if you select an
Operating System under Options for Target — Target. µVision3
loads an additional DLL that kernel awareness for operating systems.
Refer to RTX Kernel Aware Debugging for more information.
Return Value
The _TaskRunning_ function returns an int value to
the caller.
Example
The result of the debug function _TaskRunning_ may be
assigned to the _break_ system variable to stop program execution
when a specific task is active.
>_TaskRunning_ (command) /* check if task 'command' is running */
0001 /* returns 1 if task is currently running */
>_break_= _TaskRunning_ (init) /* stop program when 'init' is running */
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.