소스 검색

Fix simgrid crash

Samuel Thibault 13 년 전
부모
커밋
4311ab3b1f
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/workers.c

+ 1 - 1
src/core/workers.c

@@ -863,7 +863,7 @@ static void _starpu_terminate_workers(struct _starpu_machine_config *pconfig)
 				goto out;
 
 #ifdef STARPU_SIMGRID
-			status = starpu_pthread_join(set->worker_thread, NULL);
+			status = starpu_pthread_join(worker->worker_thread, NULL);
 #else
 			if (!pthread_equal(pthread_self(), worker->worker_thread))
 				status = starpu_pthread_join(worker->worker_thread, NULL);