|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Tests for Thread Pool. More...
#include <gtest/gtest.h>#include <thread_pool.H>#include <atomic>#include <chrono>#include <vector>#include <cmath>#include <numeric>#include <iomanip>Go to the source code of this file.
Classes | |
| class | ThreadPoolTest |
| struct | Functor |
| struct | Calculator |
Functions | |
| TEST_F (ThreadPoolTest, DefaultConstruction) | |
| TEST_F (ThreadPoolTest, ConstructionWithSize) | |
| TEST_F (ThreadPoolTest, ConstructionWithZeroDefaultsToOne) | |
| TEST_F (ThreadPoolTest, SimpleTask) | |
| TEST_F (ThreadPoolTest, TaskWithArguments) | |
| TEST_F (ThreadPoolTest, TaskWithReferenceCapture) | |
| TEST_F (ThreadPoolTest, VoidTask) | |
| TEST_F (ThreadPoolTest, MultipleTasks) | |
| TEST_F (ThreadPoolTest, PendingTasks) | |
| TEST_F (ThreadPoolTest, IsIdleAfterCompletion) | |
| TEST_F (ThreadPoolTest, ShutdownCompletesAllTasks) | |
| TEST_F (ThreadPoolTest, EnqueueAfterShutdownThrows) | |
| TEST_F (ThreadPoolTest, DoubleShutdownIsSafe) | |
| TEST_F (ThreadPoolTest, ResizeIncrease) | |
| TEST_F (ThreadPoolTest, ResizeDecrease) | |
| TEST_F (ThreadPoolTest, ResizeToSameIsNoOp) | |
| TEST_F (ThreadPoolTest, ResizeAfterShutdownThrows) | |
| TEST_F (ThreadPoolTest, ResizePreservesPendingTasks) | |
| TEST_F (ThreadPoolTest, ExceptionPropagation) | |
| TEST_F (ThreadPoolTest, ExceptionDoesNotAffectOtherTasks) | |
| TEST_F (ThreadPoolTest, ConcurrentEnqueue) | |
| TEST_F (ThreadPoolTest, ParallelExecution) | |
| TEST_F (ThreadPoolTest, ManySmallTasks) | |
| TEST_F (ThreadPoolTest, ComputeIntensiveTasks) | |
| TEST_F (ThreadPoolTest, ReturnString) | |
| TEST_F (ThreadPoolTest, ReturnVector) | |
| TEST_F (ThreadPoolTest, ReturnPair) | |
| int | free_function (int x) |
| TEST_F (ThreadPoolTest, FreeFunction) | |
| TEST_F (ThreadPoolTest, FunctorObject) | |
| TEST_F (ThreadPoolTest, StdFunction) | |
| TEST_F (ThreadPoolTest, MemberFunctionPointer) | |
| TEST_F (ThreadPoolTest, ConstMemberFunction) | |
| TEST_F (ThreadPoolTest, StaticMemberFunction) | |
| TEST_F (ThreadPoolTest, MemberFunctionWithReference) | |
| TEST_F (ThreadPoolTest, MoveOnlyLambda) | |
| TEST_F (ThreadPoolTest, MoveOnlyArgument) | |
| TEST_F (ThreadPoolTest, MoveOnlyFunctor) | |
| TEST_F (ThreadPoolTest, EnqueueDetachedBasic) | |
| TEST_F (ThreadPoolTest, EnqueueDetachedWithArgs) | |
| TEST_F (ThreadPoolTest, EnqueueDetachedExceptionsSilent) | |
| TEST_F (ThreadPoolTest, EnqueueDetachedAfterShutdownThrows) | |
| TEST_F (ThreadPoolTest, EnqueueBulkVector) | |
| TEST_F (ThreadPoolTest, EnqueueBulkStrings) | |
| TEST_F (ThreadPoolTest, EnqueueBulkEmpty) | |
| TEST_F (ThreadPoolTest, DefaultPoolExists) | |
| TEST_F (ThreadPoolTest, DefaultPoolWorks) | |
| TEST_F (ThreadPoolTest, DefaultPoolIsSingleton) | |
| void | increment_ref (int &x) |
| void | add_to_ref (int &x, int amount) |
| TEST_F (ThreadPoolTest, ReferenceArgumentWithStdRef) | |
| TEST_F (ThreadPoolTest, ReferenceArgumentMultipleParams) | |
| TEST_F (ThreadPoolTest, ConstReferenceWithStdCref) | |
| TEST_F (ThreadPoolTest, LambdaCaptureByReference) | |
| TEST_F (ThreadPoolTest, MemberFunctionWithStdRef) | |
| TEST_F (ThreadPoolTest, WaitAllBlocks) | |
| TEST_F (ThreadPoolTest, WaitAllOnEmptyPool) | |
| TEST_F (ThreadPoolTest, StressHighVolume) | |
| TEST_F (ThreadPoolTest, StressConcurrentEnqueueFromManyThreads) | |
| TEST_F (ThreadPoolTest, StressMixedWorkloads) | |
| TEST_F (ThreadPoolTest, SingleThreadPool) | |
| TEST_F (ThreadPoolTest, EmptyTasksSequence) | |
| TEST_F (ThreadPoolTest, VeryLargeReturnType) | |
| TEST_F (ThreadPoolTest, TaskReturningTask) | |
| TEST_F (ThreadPoolTest, RecursiveEnqueue) | |
| TEST_F (ThreadPoolTest, TaskThrowingDifferentExceptions) | |
| TEST_F (ThreadPoolTest, AllTasksThrowExceptions) | |
| TEST_F (ThreadPoolTest, ShutdownWhileTasksRunning) | |
| TEST_F (ThreadPoolTest, DestructorWaitsForTasks) | |
| TEST_F (ThreadPoolTest, ResizeUnderLoad) | |
| TEST_F (ThreadPoolTest, DataIntegrityUnderConcurrency) | |
| TEST_F (ThreadPoolTest, AtomicOperationsCorrectness) | |
| TEST_F (ThreadPoolTest, MutexProtectedSharedState) | |
| TEST_F (ThreadPoolTest, ParallelSpeedup) | |
| TEST_F (ThreadPoolTest, LowLatencySmallTasks) | |
| TEST_F (ThreadPoolTest, NestedLambdas) | |
| TEST_F (ThreadPoolTest, StdBindExpression) | |
| TEST_F (ThreadPoolTest, GenericLambda) | |
| TEST_F (ThreadPoolTest, CaptureByMoveInLambda) | |
| TEST_F (ThreadPoolTest, ManyArguments) | |
| TEST_F (ThreadPoolTest, ProducerConsumerPattern) | |
| TEST_F (ThreadPoolTest, SetQueueLimitsBasic) | |
| TEST_F (ThreadPoolTest, SetQueueLimitsDefaultHard) | |
| TEST_F (ThreadPoolTest, EnqueueBoundedBelowSoftLimit) | |
| TEST_F (ThreadPoolTest, EnqueueBoundedBlocksAtSoftLimit) | |
| TEST_F (ThreadPoolTest, EnqueueBoundedThrowsAtHardLimit) | |
| TEST_F (ThreadPoolTest, QueueOverflowErrorContainsInfo) | |
| TEST_F (ThreadPoolTest, EnqueueBoundedDetachedBlocksAtSoftLimit) | |
| TEST_F (ThreadPoolTest, BoundedEnqueueOnStoppedPoolThrows) | |
| TEST_F (ThreadPoolTest, BackpressureSlowsProducer) | |
| TEST_F (ThreadPoolTest, ConcurrentBoundedEnqueue) | |
| TEST_F (ThreadPoolTest, BoundedEnqueueWithFutureResults) | |
| TEST_F (ThreadPoolTest, BoundedEnqueueExceptionPropagation) | |
| TEST_F (ThreadPoolTest, MixedBoundedAndUnboundedEnqueue) | |
| TEST_F (ThreadPoolTest, BoundedEnqueueStressTest) | |
| TEST_F (ThreadPoolTest, UnlimitedByDefault) | |
| TEST_F (ThreadPoolTest, BoundedEnqueueWithArguments) | |
| TEST_F (ThreadPoolTest, BoundedEnqueueWithReference) | |
| TEST_F (ThreadPoolTest, TryEnqueueSucceedsWhenSpaceAvailable) | |
| TEST_F (ThreadPoolTest, TryEnqueueFailsWhenQueueFull) | |
| TEST_F (ThreadPoolTest, TryEnqueueDetachedSucceeds) | |
| TEST_F (ThreadPoolTest, TryEnqueueDetachedFailsWhenFull) | |
| TEST_F (ThreadPoolTest, TryEnqueueOnStoppedPoolThrows) | |
| TEST_F (ThreadPoolTest, TryEnqueueWithArguments) | |
| TEST_F (ThreadPoolTest, TryEnqueueNonBlockingBehavior) | |
| TEST_F (ThreadPoolTest, BenchmarkVsSequential) | |
| TEST_F (ThreadPoolTest, BenchmarkEnqueueOverhead) | |
| TEST_F (ThreadPoolTest, BenchmarkVsStdAsync) | |
| TEST_F (ThreadPoolTest, GetStatsInitialValues) | |
| TEST_F (ThreadPoolTest, StatsTrackCompletedTasks) | |
| TEST_F (ThreadPoolTest, StatsTrackPeakQueueSize) | |
| TEST_F (ThreadPoolTest, ResetStatsWorks) | |
| TEST_F (ThreadPoolTest, ExceptionCallbackInvokedOnDetachedTaskFailure) | |
| TEST_F (ThreadPoolTest, ExceptionCallbackCanBeCleared) | |
| TEST_F (ThreadPoolTest, StatsTrackFailedDetachedTasks) | |
| TEST_F (ThreadPoolTest, WaitAllForSucceedsWhenIdle) | |
| TEST_F (ThreadPoolTest, WaitAllForTimesOutWhenBusy) | |
| TEST_F (ThreadPoolTest, WaitAllUntilWorks) | |
| TEST_F (ThreadPoolTest, EnqueueBatchExecutesAllTasks) | |
| TEST_F (ThreadPoolTest, EnqueueBatchWithLargeWorkload) | |
| TEST_F (ThreadPoolTest, EnqueueBatchEmptyContainer) | |
| TEST_F (ThreadPoolTest, ParallelForModifiesElements) | |
| TEST_F (ThreadPoolTest, ParallelForWithChunkFunction) | |
| TEST_F (ThreadPoolTest, ParallelForEmptyRange) | |
| TEST_F (ThreadPoolTest, ParallelForCustomChunkSize) | |
| TEST_F (ThreadPoolTest, ParallelForIndexWorks) | |
| TEST_F (ThreadPoolTest, ParallelForIndexEmptyRange) | |
| TEST_F (ThreadPoolTest, ParallelTransformBasic) | |
| TEST_F (ThreadPoolTest, ParallelTransformLargeData) | |
| TEST_F (ThreadPoolTest, ParallelTransformEmpty) | |
| TEST_F (ThreadPoolTest, ParallelReduceSum) | |
| TEST_F (ThreadPoolTest, ParallelReduceProduct) | |
| TEST_F (ThreadPoolTest, ParallelReduceMax) | |
| TEST_F (ThreadPoolTest, ParallelReduceLargeData) | |
| TEST_F (ThreadPoolTest, ParallelReduceEmpty) | |
| TEST_F (ThreadPoolTest, ThreadPoolStatsQueueUtilization) | |
| int | main (int argc, char **argv) |
Tests for Thread Pool.
Note: Updated to reflect header Doxygen group changes.
Definition in file thread_pool_test.cc.
| void add_to_ref | ( | int & | x, |
| int | amount | ||
| ) |
Definition at line 737 of file thread_pool_test.cc.
References Aleph::maps().
Referenced by TEST_F().
| int free_function | ( | int | x | ) |
Definition at line 471 of file thread_pool_test.cc.
Referenced by TEST_F().
| void increment_ref | ( | int & | x | ) |
Definition at line 736 of file thread_pool_test.cc.
Referenced by TEST_F().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 2462 of file thread_pool_test.cc.
References Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| AllTasksThrowExceptions | |||
| ) |
Definition at line 989 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| AtomicOperationsCorrectness | |||
| ) |
Definition at line 1136 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::sum(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| BackpressureSlowsProducer | |||
| ) |
Definition at line 1549 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded_detached(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| BenchmarkEnqueueOverhead | |||
| ) |
Definition at line 1933 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| BenchmarkVsSequential | |||
| ) |
Definition at line 1880 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| BenchmarkVsStdAsync | |||
| ) |
Definition at line 1961 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), Aleph::maps(), and Aleph::sum().
| TEST_F | ( | ThreadPoolTest | , |
| BoundedEnqueueExceptionPropagation | |||
| ) |
Definition at line 1642 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded(), Aleph::DynList< T >::get(), Aleph::maps(), and Aleph::ThreadPool::set_queue_limits().
| TEST_F | ( | ThreadPoolTest | , |
| BoundedEnqueueOnStoppedPoolThrows | |||
| ) |
Definition at line 1539 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded(), Aleph::ThreadPool::enqueue_bounded_detached(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::shutdown().
| TEST_F | ( | ThreadPoolTest | , |
| BoundedEnqueueStressTest | |||
| ) |
Definition at line 1684 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded_detached(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| BoundedEnqueueWithArguments | |||
| ) |
Definition at line 1727 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded(), Aleph::DynList< T >::get(), Aleph::maps(), and Aleph::ThreadPool::set_queue_limits().
| TEST_F | ( | ThreadPoolTest | , |
| BoundedEnqueueWithFutureResults | |||
| ) |
Definition at line 1629 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded(), Aleph::maps(), and Aleph::ThreadPool::set_queue_limits().
| TEST_F | ( | ThreadPoolTest | , |
| BoundedEnqueueWithReference | |||
| ) |
Definition at line 1739 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded(), Aleph::DynList< T >::get(), Aleph::maps(), and Aleph::ThreadPool::set_queue_limits().
| TEST_F | ( | ThreadPoolTest | , |
| CaptureByMoveInLambda | |||
| ) |
Definition at line 1284 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ComputeIntensiveTasks | |||
| ) |
Definition at line 397 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), Aleph::ThreadPool::is_idle(), Aleph::maps(), and Aleph::sum().
| TEST_F | ( | ThreadPoolTest | , |
| ConcurrentBoundedEnqueue | |||
| ) |
Definition at line 1592 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded_detached(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| ConcurrentEnqueue | |||
| ) |
Definition at line 311 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| ConstMemberFunction | |||
| ) |
Definition at line 532 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ConstReferenceWithStdCref | |||
| ) |
Definition at line 761 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ConstructionWithSize | |||
| ) |
Definition at line 71 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::ThreadPool::num_threads().
| TEST_F | ( | ThreadPoolTest | , |
| ConstructionWithZeroDefaultsToOne | |||
| ) |
Definition at line 77 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::ThreadPool::num_threads().
| TEST_F | ( | ThreadPoolTest | , |
| DataIntegrityUnderConcurrency | |||
| ) |
Definition at line 1120 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| DefaultConstruction | |||
| ) |
Definition at line 63 of file thread_pool_test.cc.
References Aleph::ThreadPool::is_idle(), Aleph::ThreadPool::is_stopped(), Aleph::maps(), and Aleph::ThreadPool::num_threads().
| TEST_F | ( | ThreadPoolTest | , |
| DefaultPoolExists | |||
| ) |
Definition at line 709 of file thread_pool_test.cc.
References Aleph::default_pool(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| DefaultPoolIsSingleton | |||
| ) |
Definition at line 724 of file thread_pool_test.cc.
References Aleph::default_pool(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| DefaultPoolWorks | |||
| ) |
Definition at line 717 of file thread_pool_test.cc.
References Aleph::default_pool(), Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| DestructorWaitsForTasks | |||
| ) |
Definition at line 1052 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| DoubleShutdownIsSafe | |||
| ) |
Definition at line 201 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::ThreadPool::shutdown().
| TEST_F | ( | ThreadPoolTest | , |
| EmptyTasksSequence | |||
| ) |
Definition at line 914 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::ThreadPool::is_idle(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueAfterShutdownThrows | |||
| ) |
Definition at line 193 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::maps(), and Aleph::ThreadPool::shutdown().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueBatchEmptyContainer | |||
| ) |
Definition at line 2248 of file thread_pool_test.cc.
References Aleph::DynList< T >::empty(), Aleph::ThreadPool::enqueue_batch(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueBatchExecutesAllTasks | |||
| ) |
Definition at line 2211 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_batch(), Aleph::maps(), and Aleph::HTList::size().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueBatchWithLargeWorkload | |||
| ) |
Definition at line 2230 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_batch(), Aleph::maps(), and Aleph::sum().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueBoundedBelowSoftLimit | |||
| ) |
Definition at line 1394 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded(), Aleph::maps(), and Aleph::ThreadPool::set_queue_limits().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueBoundedBlocksAtSoftLimit | |||
| ) |
Definition at line 1408 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded_detached(), Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::pending_tasks(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueBoundedDetachedBlocksAtSoftLimit | |||
| ) |
Definition at line 1507 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded_detached(), Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueBoundedThrowsAtHardLimit | |||
| ) |
Definition at line 1451 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded(), Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueBulkEmpty | |||
| ) |
Definition at line 695 of file thread_pool_test.cc.
References Aleph::DynList< T >::empty(), Aleph::ThreadPool::enqueue_bulk(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueBulkStrings | |||
| ) |
Definition at line 680 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bulk(), Aleph::maps(), and Aleph::HTList::size().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueBulkVector | |||
| ) |
Definition at line 665 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bulk(), Aleph::maps(), and Aleph::HTList::size().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueDetachedAfterShutdownThrows | |||
| ) |
Definition at line 653 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::shutdown().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueDetachedBasic | |||
| ) |
Definition at line 613 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueDetachedExceptionsSilent | |||
| ) |
Definition at line 639 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| EnqueueDetachedWithArgs | |||
| ) |
Definition at line 626 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::sum(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| ExceptionCallbackCanBeCleared | |||
| ) |
Definition at line 2124 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::set_exception_callback(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| ExceptionCallbackInvokedOnDetachedTaskFailure | |||
| ) |
Definition at line 2095 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::set_exception_callback(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| ExceptionDoesNotAffectOtherTasks | |||
| ) |
Definition at line 292 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ExceptionPropagation | |||
| ) |
Definition at line 280 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| FreeFunction | |||
| ) |
Definition at line 479 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), free_function(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| FunctorObject | |||
| ) |
Definition at line 488 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| GenericLambda | |||
| ) |
Definition at line 1270 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| GetStatsInitialValues | |||
| ) |
Definition at line 2021 of file thread_pool_test.cc.
References Aleph::ThreadPool::get_stats(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| IsIdleAfterCompletion | |||
| ) |
Definition at line 161 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), Aleph::ThreadPool::is_idle(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| LambdaCaptureByReference | |||
| ) |
Definition at line 771 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| LowLatencySmallTasks | |||
| ) |
Definition at line 1214 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ManyArguments | |||
| ) |
Definition at line 1301 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), h, and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ManySmallTasks | |||
| ) |
Definition at line 369 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), Aleph::maps(), and Aleph::sum().
| TEST_F | ( | ThreadPoolTest | , |
| MemberFunctionPointer | |||
| ) |
Definition at line 521 of file thread_pool_test.cc.
References Calculator::add(), Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| MemberFunctionWithReference | |||
| ) |
Definition at line 551 of file thread_pool_test.cc.
References Calculator::add(), Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| MemberFunctionWithStdRef | |||
| ) |
Definition at line 782 of file thread_pool_test.cc.
References Calculator::add(), Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| MixedBoundedAndUnboundedEnqueue | |||
| ) |
Definition at line 1654 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_bounded_detached(), Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| MoveOnlyArgument | |||
| ) |
Definition at line 577 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| MoveOnlyFunctor | |||
| ) |
Definition at line 588 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| MoveOnlyLambda | |||
| ) |
Definition at line 567 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| MultipleTasks | |||
| ) |
Definition at line 122 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| MutexProtectedSharedState | |||
| ) |
Definition at line 1152 of file thread_pool_test.cc.
References StlAlephIterator< SetName >::begin(), StlAlephIterator< SetName >::end(), Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::HTList::size(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| NestedLambdas | |||
| ) |
Definition at line 1240 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), Aleph::maps(), and y.
| TEST_F | ( | ThreadPoolTest | , |
| ParallelExecution | |||
| ) |
Definition at line 335 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelForCustomChunkSize | |||
| ) |
Definition at line 2300 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::parallel_for().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelForEmptyRange | |||
| ) |
Definition at line 2288 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::parallel_for().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelForIndexEmptyRange | |||
| ) |
Definition at line 2332 of file thread_pool_test.cc.
References Aleph::parallel_for_index().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelForIndexWorks | |||
| ) |
Definition at line 2318 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::parallel_for_index().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelForModifiesElements | |||
| ) |
Definition at line 2260 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::parallel_for().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelForWithChunkFunction | |||
| ) |
Definition at line 2272 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::parallel_for().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelReduceEmpty | |||
| ) |
Definition at line 2437 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::parallel_reduce().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelReduceLargeData | |||
| ) |
Definition at line 2423 of file thread_pool_test.cc.
References LL, Aleph::maps(), Aleph::parallel_reduce(), and Aleph::sum().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelReduceMax | |||
| ) |
Definition at line 2410 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::parallel_reduce().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelReduceProduct | |||
| ) |
Definition at line 2398 of file thread_pool_test.cc.
References Aleph::maps(), Aleph::parallel_reduce(), and Aleph::product().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelReduceSum | |||
| ) |
Definition at line 2387 of file thread_pool_test.cc.
References Aleph::maps(), Aleph::parallel_reduce(), and Aleph::sum().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelSpeedup | |||
| ) |
Definition at line 1181 of file thread_pool_test.cc.
References Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelTransformBasic | |||
| ) |
Definition at line 2343 of file thread_pool_test.cc.
References StlAlephIterator< SetName >::begin(), StlIterator< SetType >::begin(), StlAlephIterator< SetName >::end(), Aleph::maps(), output, and Aleph::parallel_transform().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelTransformEmpty | |||
| ) |
Definition at line 2372 of file thread_pool_test.cc.
References StlAlephIterator< SetName >::begin(), StlIterator< SetType >::begin(), StlAlephIterator< SetName >::end(), Aleph::maps(), output, and Aleph::parallel_transform().
| TEST_F | ( | ThreadPoolTest | , |
| ParallelTransformLargeData | |||
| ) |
Definition at line 2356 of file thread_pool_test.cc.
References StlAlephIterator< SetName >::begin(), StlIterator< SetType >::begin(), StlAlephIterator< SetName >::end(), Aleph::maps(), output, and Aleph::parallel_transform().
| TEST_F | ( | ThreadPoolTest | , |
| PendingTasks | |||
| ) |
Definition at line 139 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::pending_tasks(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| ProducerConsumerPattern | |||
| ) |
Definition at line 1319 of file thread_pool_test.cc.
References Aleph::DynList< T >::empty(), Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::DynList< T >::pop(), Aleph::DynList< T >::push(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| QueueOverflowErrorContainsInfo | |||
| ) |
Definition at line 1476 of file thread_pool_test.cc.
References Aleph::queue_overflow_error::current_size(), Aleph::ThreadPool::enqueue_bounded(), Aleph::ThreadPool::enqueue_detached(), FAIL, Aleph::queue_overflow_error::hard_limit(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| RecursiveEnqueue | |||
| ) |
Definition at line 954 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| ReferenceArgumentMultipleParams | |||
| ) |
Definition at line 750 of file thread_pool_test.cc.
References add_to_ref(), Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ReferenceArgumentWithStdRef | |||
| ) |
Definition at line 739 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), increment_ref(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ResetStatsWorks | |||
| ) |
Definition at line 2075 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::ThreadPool::get_stats(), Aleph::maps(), Aleph::ThreadPool::reset_stats(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| ResizeAfterShutdownThrows | |||
| ) |
Definition at line 245 of file thread_pool_test.cc.
References Aleph::maps(), Aleph::ThreadPool::resize(), and Aleph::ThreadPool::shutdown().
| TEST_F | ( | ThreadPoolTest | , |
| ResizeDecrease | |||
| ) |
Definition at line 225 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), Aleph::maps(), Aleph::ThreadPool::num_threads(), and Aleph::ThreadPool::resize().
| TEST_F | ( | ThreadPoolTest | , |
| ResizeIncrease | |||
| ) |
Definition at line 212 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), Aleph::maps(), Aleph::ThreadPool::num_threads(), and Aleph::ThreadPool::resize().
| TEST_F | ( | ThreadPoolTest | , |
| ResizePreservesPendingTasks | |||
| ) |
Definition at line 253 of file thread_pool_test.cc.
References Aleph::completed(), Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::resize(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| ResizeToSameIsNoOp | |||
| ) |
Definition at line 238 of file thread_pool_test.cc.
References Aleph::maps(), Aleph::ThreadPool::num_threads(), and Aleph::ThreadPool::resize().
| TEST_F | ( | ThreadPoolTest | , |
| ResizeUnderLoad | |||
| ) |
Definition at line 1071 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::resize(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| ReturnPair | |||
| ) |
Definition at line 454 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), Aleph::maps(), Aleph::product(), and Aleph::sum().
| TEST_F | ( | ThreadPoolTest | , |
| ReturnString | |||
| ) |
Definition at line 432 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ReturnVector | |||
| ) |
Definition at line 441 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| SetQueueLimitsBasic | |||
| ) |
Definition at line 1372 of file thread_pool_test.cc.
References Aleph::ThreadPool::get_queue_limits(), Aleph::maps(), and Aleph::ThreadPool::set_queue_limits().
| TEST_F | ( | ThreadPoolTest | , |
| SetQueueLimitsDefaultHard | |||
| ) |
Definition at line 1383 of file thread_pool_test.cc.
References Aleph::ThreadPool::get_queue_limits(), Aleph::maps(), and Aleph::ThreadPool::set_queue_limits().
| TEST_F | ( | ThreadPoolTest | , |
| ShutdownCompletesAllTasks | |||
| ) |
Definition at line 179 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::ThreadPool::is_stopped(), Aleph::maps(), and Aleph::ThreadPool::shutdown().
| TEST_F | ( | ThreadPoolTest | , |
| ShutdownWhileTasksRunning | |||
| ) |
Definition at line 1021 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::shutdown().
| TEST_F | ( | ThreadPoolTest | , |
| SimpleTask | |||
| ) |
Definition at line 83 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| SingleThreadPool | |||
| ) |
Definition at line 894 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::HTList::size(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| StaticMemberFunction | |||
| ) |
Definition at line 542 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| StatsTrackCompletedTasks | |||
| ) |
Definition at line 2035 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), Aleph::ThreadPool::get_stats(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| StatsTrackFailedDetachedTasks | |||
| ) |
Definition at line 2151 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::ThreadPool::get_stats(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| StatsTrackPeakQueueSize | |||
| ) |
Definition at line 2053 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::ThreadPool::enqueue_detached(), Aleph::ThreadPool::get_stats(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| StdBindExpression | |||
| ) |
Definition at line 1258 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| StdFunction | |||
| ) |
Definition at line 498 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| StressConcurrentEnqueueFromManyThreads | |||
| ) |
Definition at line 844 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| StressHighVolume | |||
| ) |
Definition at line 830 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| StressMixedWorkloads | |||
| ) |
Definition at line 868 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| TaskReturningTask | |||
| ) |
Definition at line 941 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| TaskThrowingDifferentExceptions | |||
| ) |
Definition at line 974 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| TaskWithArguments | |||
| ) |
Definition at line 92 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| TaskWithReferenceCapture | |||
| ) |
Definition at line 101 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| ThreadPoolStatsQueueUtilization | |||
| ) |
Definition at line 2451 of file thread_pool_test.cc.
References Aleph::ThreadPoolStats::current_queue_size, Aleph::maps(), and Aleph::ThreadPoolStats::queue_utilization().
| TEST_F | ( | ThreadPoolTest | , |
| TryEnqueueDetachedFailsWhenFull | |||
| ) |
Definition at line 1803 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), Aleph::ThreadPool::try_enqueue_detached(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| TryEnqueueDetachedSucceeds | |||
| ) |
Definition at line 1790 of file thread_pool_test.cc.
References Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), Aleph::ThreadPool::try_enqueue_detached(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| TryEnqueueFailsWhenQueueFull | |||
| ) |
Definition at line 1767 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), Aleph::ThreadPool::try_enqueue(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| TryEnqueueNonBlockingBehavior | |||
| ) |
Definition at line 1846 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), Aleph::ThreadPool::try_enqueue(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| TryEnqueueOnStoppedPoolThrows | |||
| ) |
Definition at line 1826 of file thread_pool_test.cc.
References Aleph::maps(), Aleph::ThreadPool::shutdown(), Aleph::ThreadPool::try_enqueue(), and Aleph::ThreadPool::try_enqueue_detached().
| TEST_F | ( | ThreadPoolTest | , |
| TryEnqueueSucceedsWhenSpaceAvailable | |||
| ) |
Definition at line 1756 of file thread_pool_test.cc.
References Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::try_enqueue().
| TEST_F | ( | ThreadPoolTest | , |
| TryEnqueueWithArguments | |||
| ) |
Definition at line 1835 of file thread_pool_test.cc.
References Aleph::maps(), Aleph::ThreadPool::set_queue_limits(), and Aleph::ThreadPool::try_enqueue().
| TEST_F | ( | ThreadPoolTest | , |
| UnlimitedByDefault | |||
| ) |
Definition at line 1717 of file thread_pool_test.cc.
References Aleph::ThreadPool::get_queue_limits(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| VeryLargeReturnType | |||
| ) |
Definition at line 926 of file thread_pool_test.cc.
References StlAlephIterator< SetName >::begin(), StlAlephIterator< SetName >::end(), Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| VoidTask | |||
| ) |
Definition at line 111 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::DynList< T >::get(), and Aleph::maps().
| TEST_F | ( | ThreadPoolTest | , |
| WaitAllBlocks | |||
| ) |
Definition at line 797 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| WaitAllForSucceedsWhenIdle | |||
| ) |
Definition at line 2170 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::maps(), and Aleph::ThreadPool::wait_all_for().
| TEST_F | ( | ThreadPoolTest | , |
| WaitAllForTimesOutWhenBusy | |||
| ) |
Definition at line 2180 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue_detached(), Aleph::maps(), Aleph::ThreadPool::wait_all(), and Aleph::ThreadPool::wait_all_for().
| TEST_F | ( | ThreadPoolTest | , |
| WaitAllOnEmptyPool | |||
| ) |
Definition at line 813 of file thread_pool_test.cc.
References Aleph::maps(), and Aleph::ThreadPool::wait_all().
| TEST_F | ( | ThreadPoolTest | , |
| WaitAllUntilWorks | |||
| ) |
Definition at line 2198 of file thread_pool_test.cc.
References Aleph::ThreadPool::enqueue(), Aleph::maps(), and Aleph::ThreadPool::wait_all_until().