2
0
mirror of https://github.com/boostorg/log.git synced 2026-02-13 00:22:22 +00:00

Moved queue overflow policy handling to the IPC queue. Compilation fixes.

This commit is contained in:
Andrey Semashev
2016-01-09 18:21:16 +03:00
parent 60c33d501e
commit b284e68200
16 changed files with 233 additions and 786 deletions

View File

@@ -32,8 +32,7 @@
#include <boost/thread/thread.hpp>
#include <boost/log/detail/thread_specific.hpp>
#else
#include <boost/system/error_code.hpp>
#include <boost/system/system_error.hpp>
#include <boost/log/exceptions.hpp>
#include <boost/log/utility/once_block.hpp>
#endif
#if !defined(BOOST_LOG_USE_COMPILER_TLS)
@@ -212,7 +211,7 @@ BOOST_LOG_API thread::id const& get_id()
{
if (int err = pthread_key_create(&g_key, &deleter))
{
BOOST_THROW_EXCEPTION(system::system_error(err, system::system_category(), "Failed to create a thread-specific storage for thread id"));
BOOST_LOG_THROW_DESCR_PARAMS(system_error, "Failed to create a thread-specific storage for thread id", (err));
}
}