Преглед изворни кода

Do scheduling when waiting for a task, to fix hang with graph_test scheduler

Samuel Thibault пре 8 година
родитељ
комит
439230f926
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/core/task.c

+ 1 - 0
src/core/task.c

@@ -233,6 +233,7 @@ int starpu_task_wait(struct starpu_task *task)
 
 	_STARPU_TRACE_TASK_WAIT_START(j);
 
+	starpu_do_schedule();
 	_starpu_wait_job(j);
 
 	/* as this is a synchronous task, the liberation of the job