Prusa MINI Firmware overview
os_thread_def Struct Reference

#include <cmsis_os.h>

Collaboration diagram for os_thread_def:

Public Attributes

char * name
 Thread name. More...
 
os_pthread pthread
 start address of thread function More...
 
osPriority tpriority
 initial thread priority More...
 
uint32_t instances
 maximum number of instances of that thread function More...
 
uint32_t stacksize
 stack size requirements in bytes; 0 is default stack size More...
 

Detailed Description

Thread Definition structure contains startup information of a thread.

Note
CAN BE CHANGED: os_thread_def is implementation specific in every CMSIS-RTOS.

Member Data Documentation

◆ name

char* os_thread_def::name

Thread name.

◆ pthread

os_pthread os_thread_def::pthread

start address of thread function

◆ tpriority

osPriority os_thread_def::tpriority

initial thread priority

◆ instances

uint32_t os_thread_def::instances

maximum number of instances of that thread function

◆ stacksize

uint32_t os_thread_def::stacksize

stack size requirements in bytes; 0 is default stack size