ecor
Loading...
Searching...
No Matches
ecor::task_ctx Struct Reference

Basic task context that provides the task with necessary resources: task_core and task_memory_resource. More...

#include <ecor.hpp>

Public Member Functions

auto & query (get_memory_resource_t) noexcept
 
auto & query (get_task_core_t) noexcept
 
 task_ctx (auto &mem)
 

Public Attributes

task_memory_resource alloc
 
task_core core
 

Detailed Description

Basic task context that provides the task with necessary resources: task_core and task_memory_resource.

Users can customize the context by providing their own type that contains these resources and implements the query functions.


The documentation for this struct was generated from the following file: