![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include <CallbackThread.hpp>
Public Member Functions | |
| ~CallbackThread () | |
| auto | empty () |
| template<typename NullaryFunction > | |
| auto | submit (NullaryFunction &&nf) -> std::future< void > |
| It is guaranteed that the task is fully destroyed before the future's result is set. | |
Definition at line 20 of file CallbackThread.hpp.
|
inline |
Definition at line 58 of file CallbackThread.hpp.
|
inline |
Definition at line 109 of file CallbackThread.hpp.
|
inline |
It is guaranteed that the task is fully destroyed before the future's result is set.
Definition at line 80 of file CallbackThread.hpp.