aix - reference to 'thread' is ambiguous, sys/thread.h vs std::thread
This commit is contained in:
		@@ -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)
 | 
			
		||||
{
 | 
			
		||||
    using std::chrono::high_resolution_clock;
 | 
			
		||||
    vector<thread> threads;
 | 
			
		||||
    vector<std::thread> threads;
 | 
			
		||||
    auto start = high_resolution_clock::now();
 | 
			
		||||
 | 
			
		||||
    int msgs_per_thread = howmany / thread_count;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user