Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/thread.hpp"
Thread Lifecycle Policy:
Definition at line 336 of file thread.hpp.
Public Member Functions | |
void | handle_after_thread () |
void | handle_loose_thread () |
template<class FUN , typename... ARGS> | |
void | perform_thread_function (FUN &&callable, ARGS &&...args) |
Public Attributes | |
lib::Result< RES > | result_ {error::Logic{"No result yet, thread still running; need to join() first."}} |
Wrapper to capture a success/failure indicator and possibly a computation result. | |