Browse Source

src/core/workers.c: braces

Nathalie Furmento 14 years ago
parent
commit
2e546731a4
1 changed files with 4 additions and 2 deletions
  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
 			}
 		}