Explorar el Código

src/core/workers.c: fix code factorization

Nathalie Furmento hace 6 años
padre
commit
7ada340303
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/core/workers.c

+ 1 - 1
src/core/workers.c

@@ -823,7 +823,7 @@ static void _starpu_launch_drivers(struct _starpu_machine_config *pconfig)
 		 * before starting another one, to make sure they appear in
 		 * order in the trace.
 		 */
-		if (workerarg->run_by_starpu == 1)
+		if (workerarg->run_by_starpu == 1 && workerarg->arch != STARPU_MPI_MS_WORKER)
 		{
 			STARPU_PTHREAD_MUTEX_LOCK(&workerarg->mutex);
 			while (!workerarg->worker_is_running)