Nirvana Jay / Mbed 2 deprecated F7DISCO_Demo

Dependencies:   BSP_DISCO_F746NG_patch mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

os_thread_def Struct Reference

os_thread_def Struct Reference

Thread Definition structure contains startup information of a thread. More...

#include <cmsis_os.h>

Data Fields

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

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.

Definition at line 311 of file cmsis_os.h.


Field Documentation

uint32_t instances

maximum number of instances of that thread function

Definition at line 315 of file cmsis_os.h.

char * name

Thread name.

Definition at line 312 of file cmsis_os.h.

os_pthread pthread

start address of thread function

Definition at line 313 of file cmsis_os.h.

uint32_t stacksize

stack size requirements in bytes; 0 is default stack size

Definition at line 316 of file cmsis_os.h.

osPriority tpriority

initial thread priority

Definition at line 314 of file cmsis_os.h.