Update async.h

This commit is contained in:
Gabi Melman 2018-05-25 18:28:29 +03:00 committed by GitHub
parent 001e22ebee
commit a23eb3769a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ inline std::shared_ptr<spdlog::logger> create_async_logger(const std::string &lo
return create_async::create<Sink>(logger_name, std::forward<SinkArgs>(sink_args)...);
}
// set global thread pool. q_size must be power of 2
// set global thread pool.
inline void init_thread_pool(size_t q_size, size_t thread_count)
{
using details::registry;