Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
99ca7f1c
Commit
99ca7f1c
authored
Apr 29, 2018
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comments
parent
3e28d9ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
include/spdlog/async.h
include/spdlog/async.h
+6
-5
No files found.
include/spdlog/async.h
View file @
99ca7f1c
...
@@ -7,11 +7,12 @@
...
@@ -7,11 +7,12 @@
#pragma once
#pragma once
//
//
// async logging using global thread pool
// Async logging using global thread pool
// all loggers created here share same global thread pool.
// All loggers created here share same global thread pool.
// each log message is pushed to a queue along withe a shared pointer to the logger.
// Each log message is pushed to a queue along withe a shared pointer to the logger.
// If a logger gets out of scope or deleted while having pending messages in the queue,
// If a logger deleted while having pending messages in the queue, it's actual destruction will defer
// it's destruction will defer until all its messages are processed by the thread pool.
// until all its messages are processed by the thread pool.
// This is because each message in the queue holds a shared_ptr to the originating logger.
#include "async_logger.h"
#include "async_logger.h"
#include "details/registry.h"
#include "details/registry.h"
...
...
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