Definition at line 182 of file call-queue-test.cpp.
|
| Worker (CallQueue &queue, SyncBarrier &commonTrigger) |
|
void | countConsumerCall (uint increment) |
|
lib::Result< RES > | join () |
| put the caller into a blocking wait until this thread has terminated More...
|
|
| ThreadLifecycle (Launch launcher) |
| Primary constructor: Launch the new thread with flexible configuration. More...
|
|
| ThreadLifecycle (string const &threadID, FUN &&threadFunction, ARGS &&...args) |
| Create a new thread to execute the given operation. More...
|
|
| ThreadLifecycle (RES(SUB::*memFun)(ARGS...), ARGS ...args) |
| Special variant to bind a subclass member function as thread operation. More...
|
|
| operator bool () const |
| Is this thread »active« and thus tied to OS resources? More...
|
|
|
uint64_t | consumerSum = 0 |
|
uint64_t | producerSum = 0 |
|
SyncBarrier & | trigger_ |
|
|
static auto | buildInvocation (W &wrapper, tuple< INVO... > &&invocation) |
| Build the invocation tuple, using #invokeThreadFunction to delegate to the user-provided functor and arguments.
|
|
static auto | buildLauncher (INVO &&...args) |
| Build a λ actually to launch the given thread operation later, after the thread-wrapper-object is fully initialised. More...
|
|
static Monitor & | getMonitor (Sync const *forThis) |
|
| ThreadLifecycle () |
| derived classes may create a disabled thread
|
|
void | handle_after_thread () |
|
void | handle_loose_thread () |
|
void | perform_thread_function (FUN &&callable, ARGS &&...args) |
|
| ThreadWrapper () |
|
| ThreadWrapper (string const &threadID) |
|
void | detach_thread_from_wrapper () |
| allow to detach explicitly — independent from thread-function's state. More...
|
|
void | handle_after_thread () |
| called immediately before end of thread
|
|
void | handle_begin_thread () |
| called immediately at start of thread
|
|
void | handle_loose_thread () |
| called when destroying wrapper on still running thread
|
|
bool | invokedWithinThread () const |
| detect if the currently executing code runs within this thread More...
|
|
bool | isLive () const |
|
template<class... INVO> |
void | launchThread (tuple< INVO... > &&invocation) |
|
void | markThreadEnd () |
|
void | markThreadStart () |
|
void | setThreadName () |
|
void | waitGracePeriod () noexcept |
|
| MoveOnly (MoveOnly &&)=default |
|
| MoveOnly (MoveOnly const &)=delete |
|
MoveOnly & | operator= (MoveOnly &&)=delete |
|
MoveOnly & | operator= (MoveOnly const &)=delete |
|
static string | decorate_with_global_count (string const &) |
| Helper to create a suffix to the thread-ID with running count.
|
|
lib::Result< RES > | result_ |
| Wrapper to capture a success/failure indicator and possibly a computation result.
|
|
const string | threadID_ |
|
std::thread | threadImpl_ |
|
The documentation for this struct was generated from the following file: