2
0
mirror of https://github.com/boostorg/log.git synced 2026-02-02 21:02:19 +00:00
Commit Graph

494 Commits

Author SHA1 Message Date
Andrey Semashev
7e077993da Make better use of NRVO on compilers that support it. 2016-08-06 17:02:28 +03:00
Andrey Semashev
fc398fc04d Updated example to make sure an exception is thrown. 2016-07-17 19:41:43 +03:00
Andrey Semashev
f15e9d413c Fixed #12178. Stream formatting parameters could be preserved across different log records. 2016-07-17 16:31:24 +03:00
Andrey Semashev
7624cf57b9 Added docs for reliable_message_queue. 2016-07-17 15:43:34 +03:00
Andrey Semashev
234d04b06a Added a workaround for MSVC-8. The compiler wrongly disables the initializing constructor of value_ref. 2016-07-16 18:51:33 +03:00
Andrey Semashev
570bbc271a Added shared memory segment size to the error message. 2016-07-16 16:20:25 +03:00
Andrey Semashev
3116d9ce32 Added a fallback implementation for process-shared pthread primitives if not supported natively. Should resolve runtime failures on FreeBSD. 2016-07-16 16:11:06 +03:00
Andrey Semashev
ffa9826ff2 Added workarounds for MSVC-12. The compiler would fail SFINAE or ICE in some cases when value_ref initializing constructor was used. 2016-07-13 03:47:39 +03:00
Andrey Semashev
7138345801 Added a workaround for building failure with MinGW. 2016-07-13 00:20:42 +03:00
Andrey Semashev
9727acd277 Added a missing return in check-message-compiler. 2016-07-12 22:57:50 +03:00
Andrey Semashev
6a034f77cc Added a missing include. 2016-07-12 19:58:38 +03:00
Andrey Semashev
3c92751c56 Working on documentation for IPC tools. 2016-06-05 22:28:54 +03:00
Andrey Semashev
61e9db5406 Renamed sinks_ipc_viewer.cpp to sinks_ipc_receiver.cpp. 2016-06-05 17:25:02 +03:00
Andrey Semashev
25a90aec56 Added a release note about interprocess tools. 2016-05-29 15:18:28 +03:00
Andrey Semashev
cdfc7b8dfb Changed leftover uint32_t to size_type. 2016-04-14 19:32:04 +03:00
Andrey Semashev
84d847911e Fixed incorrect return values in try_* methods. 2016-04-14 19:32:04 +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
2d7494e696 Nonessental. 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
5da7f8cf55 Added a test for from_native. 2016-04-14 19:32:04 +03:00
Andrey Semashev
5b9bf9d9e0 Cosmetic changes. 2016-04-14 19:32:04 +03:00
Andrey Semashev
063539ece8 Corrected a typo in the comment. 2016-04-14 19:32:04 +03:00
Andrey Semashev
51af4eeae9 Fixes for Windows. 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
1852ded16f Updated IPC examples to be compatible with the actual implementation. 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
7a32451110 Added parametrized constructors to forward named parameters to the queue constructor. 2016-04-14 19:32:04 +03:00
Andrey Semashev
e0e0945d58 Restrict generated parametrized constructors to named parameters only. Document these constructors. 2016-04-14 19:32:04 +03:00
Andrey Semashev
c42efa2808 Updated copyright. 2016-04-14 19:32:04 +03:00
Andrey Semashev
3c817d0acf Updated copyright. 2016-04-14 19:32:04 +03:00
Andrey Semashev
49ae0068c1 Added support for named arguments in the interprocess queue construction. Revised SFINAE usages. 2016-04-14 19:32:04 +03:00
Andrey Semashev
96407384c4 Fixed an exception when checking if the semaphore counter is zero. Moved UTF conversion function to code_conversion.cpp. Moved access permission constants to Boost.WinAPI. 2016-04-14 19:32:04 +03:00
Andrey Semashev
d8a0fca2e9 Silenced a warning about narrowing conversion. 2016-04-14 19:32:04 +03:00
Andrey Semashev
d5b4dbb357 Added a workaround for a linking problem with older MSVC. 2016-04-14 19:32:04 +03:00
Andrey Semashev
65076ea6e8 Fixed compilation on MSVC-8. 2016-04-14 19:32:03 +03:00
Andrey Semashev
30e8ef0a92 Fixed incorrect assert. 2016-04-14 19:32:03 +03:00
Andrey Semashev
89d56bc12a Compilation fixes on Windows. 2016-04-14 19:32:03 +03:00
Andrey Semashev
09ea7f70d7 Working on the Windows implementation of reliable interprocess queue. Removed unused keywords. Ported to Boost.Align implementation of size alignment function. 2016-04-14 19:32:03 +03:00
Andrey Semashev
e5d5c66683 Changed the AVX2 flag for Intel compilers to -xCORE-AVX2. This flag is said to be supported since Intel Compiler 13 and is supposed to be better than -march=core-avx2 since it does not set the target architecture, which may be set by the user. 2016-04-14 19:32:03 +03:00
Andrey Semashev
24c70e7f29 Cleaned up the Jamfile and added a config macro for disabling IPC queues. Removed -march compiler flags where possible as they may override the user's choice. Removed the log-api feature as it no longer makes sense (the library is configured by enabling/disabling the particular sinks). Some renaming and cleanup. 2016-04-14 19:32:03 +03:00
Andrey Semashev
e38b4fe87d Moved platform-specific and setup library sources to different directories. 2016-04-14 19:32:03 +03:00
Andrey Semashev
b58d9707b3 Worker on the Windows version of the reliable interprocess queue. 2016-04-14 19:32:03 +03:00
Andrey Semashev
9799bb7621 Completed semaphore-based condition variable, started reliable interprocess queue rewrite for Windows. Added comments. 2016-04-14 19:32:03 +03:00
Andrey Semashev
e17849ed08 Modified AVX2 detection so that it is more portable on Windows. 2016-04-14 19:32:03 +03:00
Andrey Semashev
72a85f2861 Updated WinAPI includes. 2016-04-14 19:32:03 +03:00
Andrey Semashev
eafb7fd4d0 Extracted event implementation to a separate class. Working on condition variable implementation. 2016-04-14 19:32:03 +03:00
Andrey Semashev
ad7ced1485 Working on Windows interprocess synchronization primitives. 2016-04-14 19:32:03 +03:00