Andrey Semashev
effd8568a4
Disable Boost.Interprocess on Cygwin.
...
Boost.Interprocess doesn't compile on Cygwin:
https://github.com/boostorg/interprocess/issues/76
Also, disable affected tests and examples.
2019-01-06 19:51:48 +03:00
Andrey Semashev
70debc533b
Changed the max_size decorator so that the overflow marker length is
...
included into the size limit.
The max_size method on the stream buffer will now attempt to truncate
the attached string on the character boundary.
Fixed character boundary detection for multibyte encodings.
Clean up the overflow flag and the max size limit after the formatter
has completed.
Added a test for the max_size decorator.
Cleaned up some includes and reduced the dependency on Boost.Thread.
2016-08-09 04:20:49 +03:00
Andrey Semashev
1699351a8b
Use the size_type typedef in the autotest.
2016-04-14 19:32:04 +03:00
Andrey Semashev
85092ef741
Added a new queue overflow policy which allows to return an error code if the queue is full. Added a test for the new policy. Changed the interface slightly to use the common message size typedef and use this typedef to check the message size before enqueueing it.
2016-04-14 19:32:04 +03:00
Andrey Semashev
6c49eccaa2
Added another thread to the test. Just to make it more likely to detect issues.
2016-04-14 19:32:04 +03:00
Andrey Semashev
38aeadfcc1
Fixed a few bugs in interprocess condition variable on Windows which caused infinite waits in some cases.
2016-04-14 19:32:04 +03:00
Andrey Semashev
95704fccca
Added memory fences to guarantee that the thread-specific data is properly visible to other threads.
2016-04-14 19:32:04 +03:00
Andrey Semashev
05826649a0
Extracted platform-specific logic regarding interprocess object names to a separate object_name wrapper. Use this wrapper wherever interprocess queue name was used. Added a test for the wrapper. Extracted auto_handle to a separate header.
2016-04-14 19:32:04 +03:00
Andrey Semashev
48079e0fcb
Renamed stop() and reset() to stop_local() and reset_local() to emphasize that the methods operate only on the local queue object. Added proper documentation for the class.
2016-04-14 19:32:04 +03:00
Andrey Semashev
89d56bc12a
Compilation fixes on Windows.
2016-04-14 19:32:03 +03:00
Andrey Semashev
1aacc3e746
Fixed bugs, updated tests.
2016-04-14 19:32:03 +03:00
Andrey Semashev
2ad2ad2520
Added a check for throwing an exception on queue overflow.
2016-04-14 19:32:03 +03:00
Andrey Semashev
f47a77ab9b
Reworked reliable message queue test.
2016-04-14 19:32:03 +03:00
Andrey Semashev
b38f3b915a
Working on separating tests for the IPC sink backend and message queue.
2016-04-14 19:32:03 +03:00
Andrey Semashev
2a19a66559
Renamed sink_ipc_backend.cpp -> sink_text_ipc_mq_backend.cpp. Working on separating tests for the IPC sink backend and message queue.
2016-04-14 19:32:03 +03:00