Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Properly register the waiter in wait_any_for(), so that it gets handled on suspend...
[simgrid.git] / src / smpi / colls / bcast / bcast-NTSL.cpp
index a2929b6c9925e75e3c903cbc9ede5a3b063c3f56..f3bffdff76cd2476585ef33592a02de1274d7a8c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2021. The SimGrid Team.
+/* Copyright (c) 2013-2023. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -11,8 +11,7 @@ static int bcast_NTSL_segment_size_in_byte = 8192;
 /* Non-topology-specific pipelined linear-bcast function
    0->1, 1->2 ,2->3, ....., ->last node : in a pipeline fashion
 */
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 int bcast__NTSL(void *buf, int count, MPI_Datatype datatype,
                 int root, MPI_Comm comm)
 {
@@ -123,5 +122,4 @@ int bcast__NTSL(void *buf, int count, MPI_Datatype datatype,
   return MPI_SUCCESS;
 }
 
-}
-}
+} // namespace simgrid::smpi