[LITMUS^RT] litmus-dev Digest, Vol 56, Issue 12

Mahircan Gul mahircg at mpi-sws.org
Thu Oct 27 20:19:19 CEST 2016


Sorry for the mistake. The correct expression to check if the task is 
running is:

*task->state == TASK_RUNNING*

Also, as Bjorn stated,  is_current_running() can be used for checking 
the current task.


Mahir


On 10/27/2016 08:12 PM, litmus-dev-request at lists.litmus-rt.org wrote:
> In latest version of LITMUS, whether a task is running or not can be
> checked by:
>
> *task->state == IS_RUNNING*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20161027/db26c1c5/attachment.html>


More information about the litmus-dev mailing list