|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
WorkersSet, deprecated: every scheduled item is processed and freed, the wait returns, and a full queue throws. More...
#include <gtest/gtest.h>#include <atomic>#include <chrono>#include <cstdlib>#include <stdexcept>#include <thread>#include <worker_pool.H>Go to the source code of this file.
Functions | |
| TEST (WorkersSet, ProcessesEveryScheduledItem) | |
| TEST (WorkersSet, TheWaitReturnsWhenTheItemsAreDoneBeforeIt) | |
| TEST (WorkersSet, ItemsScheduledBeforeTheirCountAreProcessed) | |
| TEST (WorkersSet, AnItemThatReturnsTrueEndsTheJob) | |
| TEST (WorkersSet, AFullQueueThrows) | |
| TEST (WorkersSet, AShutdownEndsTheWait) | |
WorkersSet, deprecated: every scheduled item is processed and freed, the wait returns, and a full queue throws.
Definition in file worker_pool_test.cc.
| TEST | ( | WorkersSet | , |
| AFullQueueThrows | |||
| ) |
Definition at line 154 of file worker_pool_test.cc.
| TEST | ( | WorkersSet | , |
| AnItemThatReturnsTrueEndsTheJob | |||
| ) |
Definition at line 138 of file worker_pool_test.cc.
| TEST | ( | WorkersSet | , |
| AShutdownEndsTheWait | |||
| ) |
Definition at line 168 of file worker_pool_test.cc.
| TEST | ( | WorkersSet | , |
| ItemsScheduledBeforeTheirCountAreProcessed | |||
| ) |
Definition at line 122 of file worker_pool_test.cc.
| TEST | ( | WorkersSet | , |
| ProcessesEveryScheduledItem | |||
| ) |
Definition at line 88 of file worker_pool_test.cc.
| TEST | ( | WorkersSet | , |
| TheWaitReturnsWhenTheItemsAreDoneBeforeIt | |||
| ) |
Definition at line 106 of file worker_pool_test.cc.
References Aleph::and, and k.