Ignore:
Timestamp:
08/04/16 16:24:20 (8 years ago)
Author:
rlacroix
Message:

Fix the client/server communication protocol.

In the some extreme cases a deadlock could occur. To fix this, the number of buffered events must be properly limited.

If you noticed decreased performance due to this commit, please let us know about it.

Fixes ticket #91.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/context.hpp

    r823 r917  
    123123         void postProcessing(); 
    124124 
    125          std::map<int, StdSize> getAttributesBufferSize(); 
    126          std::map<int, StdSize> getDataBufferSize(); 
     125         std::map<int, StdSize> getAttributesBufferSize(std::map<int, StdSize>& maxEventSize); 
     126         std::map<int, StdSize> getDataBufferSize(std::map<int, StdSize>& maxEventSize); 
    127127         void setClientServerBuffer(); 
    128128 
Note: See TracChangeset for help on using the changeset viewer.