8#ifndef META_OCEAN_TEST_TESTBASE_TEST_THREAD_POOL_H
9#define META_OCEAN_TEST_TESTBASE_TEST_THREAD_POOL_H
45 void addId(
const unsigned int id);
This class implements a recursive lock object.
Definition Lock.h:31
This template class is the base class for all singleton objects.
Definition Singleton.h:71
This class implements a helper class allowing to keep track of function executions.
Definition TestThreadPool.h:38
void addId(const unsigned int id)
Adds a new id.
bool hasId() const
Returns whether at least one id exists.
Lock lock_
The singleton's lock.
Definition TestThreadPool.h:70
UnorderedIndexSet32 ids_
The ids.
Definition TestThreadPool.h:67
void clear()
Clears all ids.
UnorderedIndexSet32 ids() const
Returns the added ids.
This class implements tests for the ThreadPool class.
Definition TestThreadPool.h:31
static bool testInvokeFunctions(const double testDuration)
Tests to invoke several functions.
static bool test(const double testDuration, const TestSelector &selector=TestSelector())
Tests all TestThreadPool functions.
This class implements a test selector that parses test function strings and determines which tests sh...
Definition TestSelector.h:51
std::unordered_set< Index32 > UnorderedIndexSet32
Definition of an unordered_set holding 32 bit indices.
Definition Base.h:126
The namespace covering the entire Ocean framework.
Definition Accessor.h:15