Skip to content
Snippets Groups Projects
Commit 5998259c authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Move free-space check after flush.

parent 38ba5d31
No related branches found
No related tags found
No related merge requests found
......@@ -591,14 +591,14 @@ void pioBufferFuncCall(union winHeaderEntry header,
for (collID = 0; collID < nProcsColl; ++collID)
{
xassert((txWin[collID].dictSize - txWin[collID].dictRPCUsed)
> txWin[collID].dictDataUsed);
if (txWin[collID].postSet)
{
xmpi(MPI_Win_wait(txWin[collID].win));
txWin[collID].postSet = 0;
modelWinFlushBuffer ( collID );
}
xassert(txWin[collID].dictRPCUsed + txWin[collID].dictDataUsed
< txWin[collID].dictSize);
xassert(txWin[collID].refuseFuncCall == 0);
modelWinEnqueue(collID, header, data, data_len);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment