bufferLivePacket improvements for generic Outputs

This commit is contained in:
Thulinma 2017-03-16 14:02:06 +01:00
parent 2717c21d4e
commit 746d982d28
12 changed files with 61 additions and 86 deletions

View file

@ -1194,13 +1194,13 @@ namespace IPC {
}
if (!hasCounter) {
DEBUG_MSG(DLVL_WARN, "Trying to time-out an element without counters");
myPage.close();
return;
}
if (myPage.mapped) {
semGuard tmpGuard(&mySemaphore);
myPage.mapped[offsetOnPage] = 126 | (countAsViewer?0x80:0);
HIGH_MSG("sharedClient finished ID %d", offsetOnPage/(payLen+1));
}
semGuard tmpGuard(&mySemaphore);
myPage.mapped[offsetOnPage] = 126 | (countAsViewer?0x80:0);
HIGH_MSG("sharedClient finished ID %d", offsetOnPage/(payLen+1));
myPage.close();
}
///\brief Re-initialize the counter