{\r
//check that this task is in our list - we don't want to suspend a task that isn't running\r
if(std::find(taskList.begin(),taskList.end(),t)!=taskList.end())\r
{\r
//check that this task is in our list - we don't want to suspend a task that isn't running\r
if(std::find(taskList.begin(),taskList.end(),t)!=taskList.end())\r