mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 17:00:25 +08:00
fixed class name
This commit is contained in:
parent
8932b77d63
commit
e4ed7528e3
@ -19,11 +19,11 @@ namespace spdlog {
|
|||||||
namespace details {
|
namespace details {
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class mpmc_bounded_queue
|
class mpmc_blocking_queue
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using item_type = T;
|
using item_type = T;
|
||||||
explicit mpmc_bounded_queue(size_t max_items)
|
explicit mpmc_blocking_queue(size_t max_items)
|
||||||
: max_items_(max_items)
|
: max_items_(max_items)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,7 @@ namespace spdlog {
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using item_type = async_msg;
|
using item_type = async_msg;
|
||||||
using q_type = details::mpmc_bounded_queue<item_type>;
|
using q_type = details::mpmc_blocking_queue<item_type>;
|
||||||
using clock_type = std::chrono::steady_clock;
|
using clock_type = std::chrono::steady_clock;
|
||||||
|
|
||||||
thread_pool(size_t q_size_bytes, size_t threads_n)
|
thread_pool(size_t q_size_bytes, size_t threads_n)
|
||||||
|
Loading…
Reference in New Issue
Block a user