Utility functions that query and operate on the current task.
Definition in file current_task.hpp.
Go to the source code of this file.
Namespaces | |
namespace | engine |
Asynchronous engine primitives. | |
namespace | engine::current_task |
Namespace with functions to work with current task from within it. | |
Functions | |
bool | engine::current_task::IsTaskProcessorThread () noexcept |
TaskProcessor & | engine::current_task::GetTaskProcessor () |
Returns reference to the task processor executing the caller. | |
std::size_t | engine::current_task::GetStackSize () |
Returns task coroutine stack size. | |