src/slave/slave.cpp
// Helper function that returns true if the task state is terminal
Helper function that returns true if the task state is terminal
Helper function that returns true if the task state is terminal
bool isTerminalTaskState(TaskState state)
{
  return state == TASK_FINISHED ||
    state == TASK_FAILED ||
    state == TASK_KILLED ||
    state == TASK_LOST;
}
bool isTerminalTaskState ( TaskState state ) { return state == TASK_FINISHED || state == TASK_FAILED || state == TASK_KILLED || state == TASK_LOST ; }
Helper function that returns true if the task state is terminal
Helper function that returns true if the task state is terminal