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
569b851b
Commit
569b851b
authored
Nov 20, 2021
by
lisr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aix - reference to 'thread' is ambiguous, sys/thread.h vs std::thread
parent
232df72b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bench/async_bench.cpp
bench/async_bench.cpp
+1
-1
No files found.
bench/async_bench.cpp
View file @
569b851b
...
@@ -162,7 +162,7 @@ void thread_fun(std::shared_ptr<spdlog::logger> logger, int howmany)
...
@@ -162,7 +162,7 @@ void thread_fun(std::shared_ptr<spdlog::logger> logger, int howmany)
void
bench_mt
(
int
howmany
,
std
::
shared_ptr
<
spdlog
::
logger
>
logger
,
int
thread_count
)
void
bench_mt
(
int
howmany
,
std
::
shared_ptr
<
spdlog
::
logger
>
logger
,
int
thread_count
)
{
{
using
std
::
chrono
::
high_resolution_clock
;
using
std
::
chrono
::
high_resolution_clock
;
vector
<
thread
>
threads
;
vector
<
std
::
thread
>
threads
;
auto
start
=
high_resolution_clock
::
now
();
auto
start
=
high_resolution_clock
::
now
();
int
msgs_per_thread
=
howmany
/
thread_count
;
int
msgs_per_thread
=
howmany
/
thread_count
;
...
...
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