mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
FIFOBuffer EOF and error support
FIFOBuffer now supports EOF and error conditions. If EOF flag is set, buffer will not accept writing but will allow reading of the remainder of data. After it is emptied, buffer remains in EOF state until flag is cleared. Setting error flag, immediately empties the buffer and prevents any I/O operation until flag is cleared. Flag setting will trigger transiton notifications (if notifications are enabled). For details, see the code diffs.
This commit is contained in:
@@ -54,6 +54,7 @@ public:
|
||||
void testBuffer();
|
||||
void testFIFOBufferChar();
|
||||
void testFIFOBufferInt();
|
||||
void testFIFOBufferEOFAndError();
|
||||
void testAtomicCounter();
|
||||
void testNullable();
|
||||
void testAscii();
|
||||
|
||||
Reference in New Issue
Block a user