/*
This file is a part of libcds - Concurrent Data Structures library
- (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
+ (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
#ifndef CDSTEST_THREAD_H
#define CDSTEST_THREAD_H
-#include <gtest/gtest.h>
+#include <cds_test/ext_gtest.h>
#include <vector>
#include <thread>
#include <condition_variable>
};
public:
- explicit thread_pool( ::testing::Test& fixture )
- : m_fixture( fixture )
+ explicit thread_pool( ::testing::Test& fx )
+ : m_fixture( fx )
, m_bTimeElapsed( false )
{}
// Create threads
std::vector< std::thread > threads;
- threads.reserve( m_workers.size() );
+ threads.reserve( m_workers.size());
for ( auto w : m_workers )
threads.emplace_back( &thread::run, w );