OS_Task_IsEnable (OST_TASK_POINTER tp)
Check if another task is active (created).
Everywhere
tp |
Pointer to task descriptor (OST_TASK_POINTER) |
nothing
false |
task is not active |
true |
task is created |
OST_MSG_CB msg_cb; void Task (void) { for (;;) { /*...*/ if (OS_Task_IsEnable(tp)) { OS_Msg_Send(msg_cb, "Enabled."); }; /*...*/ } }
OS_IsTaskEnable