commit | d2ca39217aaf970004db7bdd6936b49f3f1b83e6 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Fri Jan 18 17:58:48 2013 -0800 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Fri Jan 18 17:58:48 2013 -0800 |
tree | 32fbad881b061f9844fc3b9ffd972994693d2f8b | |
parent | 1df9869492533852b6a7989e3e8dc07cef7b89b5 [diff] [blame] |
update scheduler test for reschedule
diff --git a/scheduler/scheduler.cc b/scheduler/scheduler.cc index 029be5c..2806075 100644 --- a/scheduler/scheduler.cc +++ b/scheduler/scheduler.cc
@@ -124,7 +124,7 @@ Scheduler::rescheduleTask(const TaskPtr &task) { ReadLock lock(m_mutex); - TaskMapIt it = m_taskMap.find(tag); + TaskMapIt it = m_taskMap.find(task->tag()); if (it != m_taskMap.end()) { TaskPtr task = it->second;