[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29432 - msh/src
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29432 - msh/src |
Date: |
Fri, 20 Sep 2013 15:25:53 +0200 |
Author: harsha
Date: 2013-09-20 15:25:52 +0200 (Fri, 20 Sep 2013)
New Revision: 29432
Modified:
msh/src/mshd.c
Log:
- move barrier to just after the end of final round
Modified: msh/src/mshd.c
===================================================================
--- msh/src/mshd.c 2013-09-20 13:17:21 UTC (rev 29431)
+++ msh/src/mshd.c 2013-09-20 13:25:52 UTC (rev 29432)
@@ -535,6 +535,11 @@
rtask = GNUNET_SCHEDULER_add_now (&run_round, NULL);
return;
}
+ if (MPI_SUCCESS != MPI_Barrier (MPI_COMM_WORLD))
+ {
+ GNUNET_break (0);
+ return GNUNET_SYSERR;
+ }
LOG_DEBUG ("Verification phase complete; commencing reduction phase\n");
GNUNET_break (GNUNET_OK == reduce_ntree ());
addressmap_print (addrmap);
@@ -976,12 +981,7 @@
run_round_ ()
{
unsigned int cnt;
-
- if (MPI_SUCCESS != MPI_Barrier (MPI_COMM_WORLD))
- {
- GNUNET_break (0);
- return GNUNET_SYSERR;
- }
+
if (GNUNET_SYSERR == send_addresses ())
return GNUNET_SYSERR;
if (NULL == (riainfos = receive_addresses ()))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29432 - msh/src,
gnunet <=