Skip to content
Snippets Groups Projects
Commit 6acb97b4 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

don't try to get super on psort tasks, as suggested by peter.

parent de72d25a
No related branches found
No related tags found
1 merge request!60Parallel scheduler
......@@ -1215,7 +1215,7 @@ void *runner_main(void *data) {
t->rid = r->cpuid;
/* Set super to the first cell that I own. */
if (t->type != task_type_rewait) {
if (t->type != task_type_rewait && t->type != task_type_psort) {
if (ci->super != NULL && ci->super->owner == r->qid)
super = ci->super;
else if (cj != NULL && cj->super != NULL && cj->super->owner == r->qid)
......@@ -1291,7 +1291,7 @@ void *runner_main(void *data) {
case task_type_psort:
space_do_parts_sort();
break;
case task_type_rewait:
case task_type_rewait:
for (struct task *t2 = (struct task *)t->ci;
t2 != (struct task *)t->cj; t2++) {
for (k = 0; k < t2->nr_unlock_tasks; k++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment