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

undo skipping the comm tasks, something is amiss...

parent 997e3344
No related branches found
No related tags found
1 merge request!176Tasks cleanup
......@@ -1019,8 +1019,7 @@ void scheduler_start(struct scheduler *s, unsigned int mask,
for (int k = 0; k < s->nr_tasks; k++) {
struct task *t = &tasks[tid[k]];
if (atomic_dec(&t->wait) == 1 && ((1 << t->type) & s->mask) &&
((1 << t->subtype) & s->submask) && !t->skip &&
(t->type != task_type_send) && (t->type != task_type_recv)) {
((1 << t->subtype) & s->submask) && !t->skip) {
scheduler_enqueue(s, t);
pthread_cond_signal(&s->sleep_cond);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment