SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
cy_worker_thread_params_t Struct Reference

#include <cy_worker_thread.h>

Collaboration diagram for cy_worker_thread_params_t:

Public Attributes

cy_thread_priority_t priority
uint32_t stack_size
uint8_t * stack
const char * name
uint32_t num_entries

Detailed Description

Worker Thread Parameters.

Definition at line 74 of file cy_worker_thread.h.

Member Data Documentation

◆ name

const char* cy_worker_thread_params_t::name

Thread name. If set to NULL, CY_WORKER_THREAD_DEFAULT_NAME will be used.

Definition at line 82 of file cy_worker_thread.h.

◆ num_entries

uint32_t cy_worker_thread_params_t::num_entries

Maximum number of entries the worker thread can queue. If set to 0, CY_WORKER_DEFAULT_ENTRIES will be used.

Definition at line 84 of file cy_worker_thread.h.

◆ priority

cy_thread_priority_t cy_worker_thread_params_t::priority

Requested thread priority.

Definition at line 76 of file cy_worker_thread.h.

◆ stack

uint8_t* cy_worker_thread_params_t::stack

Pointer to stack. If this is NULL a stack of size stack_size will be allocated.

Definition at line 80 of file cy_worker_thread.h.

◆ stack_size

uint32_t cy_worker_thread_params_t::stack_size

Size of stack for new thread. Note that this must be at least CY_RTOS_MIN_STACK_SIZE

Definition at line 77 of file cy_worker_thread.h.


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