Browse Source

Merge @9618:9620

Marc Sergent 12 years ago
parent
commit
15f339dbbb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/jobs.c

+ 1 - 1
src/core/jobs.c

@@ -444,7 +444,7 @@ int _starpu_push_local_task(struct _starpu_worker *worker, struct starpu_task *t
 
 	STARPU_PTHREAD_MUTEX_LOCK(&worker->sched_mutex);
 
-	if (back)
+	if (prio)
 		starpu_task_list_push_front(&worker->local_tasks, task);
 	else
 		starpu_task_list_push_back(&worker->local_tasks, task);