Przeglądaj źródła

poking at stuff

Stan Gurtler 3 lat temu
rodzic
commit
8627be2c86
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      prsona/src/serverMain.cpp

+ 2 - 0
prsona/src/serverMain.cpp

@@ -193,8 +193,10 @@ int main(int argc, char *argv[])
 
         // Wait for the other servers to check in
         while (readySync.val < numServers)
+        {
             cout << "[" << seedStr << "] " << readySync.val << " servers are checked in." << endl;
             readySync.cv.wait(lck);
+        }
 
         // Once we're ready, form and distribute the first fresh generator and the H used in ElGamal operations
         initiate_generators(rng, prsonaServer, serverIPs, serverPorts, selfIP, selfPort);