Changeset 992 for XIOS/dev/dev_olga/src/node/context.cpp
- Timestamp:
- 11/16/16 18:00:52 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/node/context.cpp
r987 r992 15 15 #include "xios_spl.hpp" 16 16 17 #include "server.hpp" 17 18 18 19 namespace xios { … … 252 253 { 253 254 clientPrimServer = new CContextClient(this, intraComm, interComm); 254 serverPrimServer = new CContextServer(this, intraComm, interComm);255 serverPrimServer = new CContextServer(this, 1, intraComm, interComm); // just some int parameter to distinguish server from serverPrimServer on server1 255 256 } 256 257 … … 414 415 { 415 416 finalized = true; 416 if (hasClient) sendRegistry() ;417 // if (hasClient) sendRegistry() ; 417 418 418 419 /* if (CXios::serverLevel == 0) … … 446 447 }*/ 447 448 448 client->finalize();449 while (!server->hasFinished())450 {451 server->eventLoop();452 }453 454 449 if ((hasClient) && (hasServer)) 455 450 { … … 458 453 { 459 454 serverPrimServer->eventLoop(); 455 CServer::eventScheduler->checkEvent() ; 460 456 } 461 457 } 458 459 client->finalize(); 460 while (!server->hasFinished()) 461 { 462 server->eventLoop(); 463 } 464 462 465 463 466 if (hasServer) … … 1056 1059 this->solveAllInheritance(); 1057 1060 1058 ShowTree(info(10));1061 // ShowTree(info(10)); 1059 1062 1060 1063 // Check if some axis, domains or grids are eligible to for compressed indexed output.
Note: See TracChangeset
for help on using the changeset viewer.