Ver código fonte

poking at stuff

Stan Gurtler 3 anos atrás
pai
commit
8627be2c86
1 arquivos alterados com 2 adições e 0 exclusões
  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);