瀏覽代碼

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