SuperTinyKernel™ RTOS 1.05.3
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
stk::Kernel< TMode, TSize, TStrategy, TPlatform >::KernelTask::AddTaskRequest Class Reference

Payload for an in-flight AddTask() request issued by a running task. More...

#include <stk.h>

Collaboration diagram for stk::Kernel< TMode, TSize, TStrategy, TPlatform >::KernelTask::AddTaskRequest:

Public Attributes

ITaskuser_task
 User task to add. Must remain valid for the lifetime of its kernel slot.

Detailed Description

template<uint8_t TMode, uint32_t TSize, class TStrategy, class TPlatform>
class stk::Kernel< TMode, TSize, TStrategy, TPlatform >::KernelTask::AddTaskRequest

Payload for an in-flight AddTask() request issued by a running task.

Note
Used in KERNEL_DYNAMIC mode only, when AddTask() is called after Start(). The requesting task stores this struct on its own stack and yields, the kernel reads it on the next tick in UpdateTaskRequest() then clears the pointer to signal completion. The struct must remain valid until then.

Definition at line 141 of file stk.h.

Member Data Documentation

◆ user_task

template<uint8_t TMode, uint32_t TSize, class TStrategy, class TPlatform>
ITask* stk::Kernel< TMode, TSize, TStrategy, TPlatform >::KernelTask::AddTaskRequest::user_task

User task to add. Must remain valid for the lifetime of its kernel slot.

Definition at line 143 of file stk.h.

Referenced by stk::Kernel< TMode, TSize, TStrategy, TPlatform >::UpdateTaskRequest().


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