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

10 Commits

Author SHA1 Message Date
Andrey Semashev
a31ec74e51 Make sure that Windows API version is consistent for all sources.
Include winapi/config.hpp as soon as possible; avoid including even
Boost.Config before it so that it doesn't set Windows API version
accidentally by including some third party header. In all source files,
include detail/config.hpp or detail/setup_config.hpp first thing.

Moved all WinAPI config macros to the Jamfile.v2 and removed
windows_version.hpp as it was no longer needed. Also enabled inclusion of
windows.h while compiling the library.

Removed auto-linking with psapi.lib and advapi32.lib as it was no longer
working after ecf3114. Added linking with advapi32.lib to Jamfile.v2.
2015-12-20 21:05:28 +03:00
Andrey Semashev
b5969e5233 Changed adaptive_mutex to use pthread_mutex_t. On systems that support it (Linux, FreeBSD, OpenBSD) PTHREAD_MUTEX_ADAPTIVE_NP is used, otherwise the default mutex type. This greatly imporoves performance in case of heavy thread contention: 100 threads - x2.7 records per second, 1000 threads - x4. Less contended cases are mostly unaffected. 2015-11-15 17:18:48 +03:00
Andrey Semashev
5434177322 Renamed spin_mutex.hpp to adaptive_mutex.hpp. 2015-11-15 16:12:13 +03:00
Andrey Semashev
5bb604ee39 Updated copyright dates. 2015-01-25 17:32:33 +03:00
Glen Fernandes
368194af72 Use Boost.Align for aligned allocation 2014-05-03 19:17:07 -07:00
Andrey Semashev
a21d096e4a Updated copyright notes to 2014. 2014-01-19 18:46:09 +04:00
Andrey Semashev
5204873fa9 Merged latest changes from trunk.
[SVN r85461]
2013-08-25 14:20:22 +00:00
Andrey Semashev
cdd85fc887 Merged recent changes from trunk. Fixes #8730.
[SVN r85093]
2013-07-20 18:09:32 +00:00
Andrey Semashev
6cef0658be Merged changes from trunk. Fixes #8703.
[SVN r84818]
2013-06-17 21:20:22 +00:00
Andrey Semashev
a7c4e0e319 Boost.Log merged to trunk.
[SVN r83860]
2013-04-13 12:30:25 +00:00