소스 검색

src/core/workers.c: braces

Nathalie Furmento 14 년 전
부모
커밋
2e546731a4
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      src/core/workers.c

+ 4 - 2
src/core/workers.c

@@ -317,8 +317,9 @@ static void _starpu_terminate_workers(struct starpu_machine_config_s *config)
 				{
 					status = pthread_join(set->worker_thread, NULL);
 #ifdef STARPU_VERBOSE
-					if (status)
+					if (status) {
 						_STARPU_DEBUG("pthread_join -> %d\n", status);
+                                        }
 #endif
 				}
 
@@ -330,8 +331,9 @@ static void _starpu_terminate_workers(struct starpu_machine_config_s *config)
 			{
 				status = pthread_join(worker->worker_thread, NULL);
 #ifdef STARPU_VERBOSE
-				if (status)
+				if (status) {
 					_STARPU_DEBUG("pthread_join -> %d\n", status);
+                                }
 #endif
 			}
 		}