소스 검색

don't special-case simgrid now that we have proper pthread_self and pthread_equal for it

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

+ 0 - 4
src/core/workers.c

@@ -1428,9 +1428,7 @@ static void _starpu_terminate_workers(struct _starpu_machine_config *pconfig)
 		{
 			if (set->started)
 			{
-#ifndef STARPU_SIMGRID
 				if (!starpu_pthread_equal(starpu_pthread_self(), set->worker_thread))
-#endif
 					status = starpu_pthread_join(set->worker_thread, NULL);
 				if (status)
 				{
@@ -1446,9 +1444,7 @@ static void _starpu_terminate_workers(struct _starpu_machine_config *pconfig)
 			if (!worker->run_by_starpu)
 				goto out;
 
-#ifndef STARPU_SIMGRID
 			if (!starpu_pthread_equal(starpu_pthread_self(), worker->worker_thread))
-#endif
 				status = starpu_pthread_join(worker->worker_thread, NULL);
 			if (status)
 			{