Commit 51a68766 authored by Victor Lopez's avatar Victor Lopez

Merge branch 'fix/issue_1242' into 'master'

Use ThreadData to get the WDQueue in DBF

Closes #1242

See merge request !46
parents b3b38270 cf724f01
......@@ -114,7 +114,7 @@ namespace nanos {
pred->setPriority( succ->getPriority() );
// Reorder
ThreadData &tdata = (ThreadData &) *myThread->getTeam()->getScheduleData();
ThreadData &tdata = (ThreadData &) *myThread->getTeamData()->getScheduleData();
WDPriorityQueue<> *q = (WDPriorityQueue<> *) tdata._readyQueue;
q->reorderWD( pred );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment