IC Eurobot 2012 Program published from Shuto's account

Dependents:   Eurobot2012_Primary

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

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 236 of file cmsis_os.h.


Field Documentation

uint32_t instances

maximum number of instances of that thread function

Definition at line 239 of file cmsis_os.h.

os_pthread pthread

start address of thread function

Definition at line 237 of file cmsis_os.h.

uint32_t stacksize

stack size requirements in bytes; 0 is default stack size

Definition at line 240 of file cmsis_os.h.

osPriority tpriority

initial thread priority

Definition at line 238 of file cmsis_os.h.