From 569b851b8093ca33c7966b732c817b6e948b015d Mon Sep 17 00:00:00 2001 From: lisr Date: Sat, 20 Nov 2021 22:48:18 +0800 Subject: [PATCH] aix - reference to 'thread' is ambiguous, sys/thread.h vs std::thread --- bench/async_bench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/async_bench.cpp b/bench/async_bench.cpp index ce2c9281..cf4d9754 100644 --- a/bench/async_bench.cpp +++ b/bench/async_bench.cpp @@ -162,7 +162,7 @@ void thread_fun(std::shared_ptr logger, int howmany) void bench_mt(int howmany, std::shared_ptr logger, int thread_count) { using std::chrono::high_resolution_clock; - vector threads; + vector threads; auto start = high_resolution_clock::now(); int msgs_per_thread = howmany / thread_count;