Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
e4ed7528
Commit
e4ed7528
authored
May 26, 2018
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed class name
parent
8932b77d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mpmc_blocking_q.h
include/spdlog/details/mpmc_blocking_q.h
+2
-2
thread_pool.h
include/spdlog/details/thread_pool.h
+1
-1
No files found.
include/spdlog/details/mpmc_blocking_q.h
View file @
e4ed7528
...
@@ -19,11 +19,11 @@ namespace spdlog {
...
@@ -19,11 +19,11 @@ namespace spdlog {
namespace
details
{
namespace
details
{
template
<
typename
T
>
template
<
typename
T
>
class
mpmc_b
ounded
_queue
class
mpmc_b
locking
_queue
{
{
public
:
public
:
using
item_type
=
T
;
using
item_type
=
T
;
explicit
mpmc_b
ounded
_queue
(
size_t
max_items
)
explicit
mpmc_b
locking
_queue
(
size_t
max_items
)
:
max_items_
(
max_items
)
:
max_items_
(
max_items
)
{
{
}
}
...
...
include/spdlog/details/thread_pool.h
View file @
e4ed7528
...
@@ -83,7 +83,7 @@ namespace spdlog {
...
@@ -83,7 +83,7 @@ namespace spdlog {
{
{
public
:
public
:
using
item_type
=
async_msg
;
using
item_type
=
async_msg
;
using
q_type
=
details
::
mpmc_b
ounded
_queue
<
item_type
>
;
using
q_type
=
details
::
mpmc_b
locking
_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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment