ChibiOS  21.6.0
thread_descriptor_t Struct Reference

Type of a thread descriptor. More...

#include <chthreads.h>

Collaboration diagram for thread_descriptor_t:
Collaboration graph

Data Fields

const char * name
 Thread name. More...
 
stkalign_twbase
 Pointer to the working area base. More...
 
stkalign_twend
 Pointer to the working area end. More...
 
tprio_t prio
 Thread priority. More...
 
tfunc_t funcp
 Thread function pointer. More...
 
void * arg
 Thread argument. More...
 
os_instance_tinstance
 OS instance affinity or NULL for current one. More...
 

Detailed Description

Type of a thread descriptor.

Definition at line 57 of file chthreads.h.

Field Documentation

◆ name

const char* thread_descriptor_t::name

Thread name.

Definition at line 61 of file chthreads.h.

◆ wbase

stkalign_t* thread_descriptor_t::wbase

Pointer to the working area base.

Definition at line 65 of file chthreads.h.

Referenced by chThdCreate(), chThdCreateI(), and chThdCreateSuspended().

◆ wend

stkalign_t* thread_descriptor_t::wend

Pointer to the working area end.

Definition at line 69 of file chthreads.h.

Referenced by chThdCreate(), chThdCreateI(), and chThdCreateSuspended().

◆ prio

tprio_t thread_descriptor_t::prio

Thread priority.

Definition at line 73 of file chthreads.h.

Referenced by chThdCreateI().

◆ funcp

tfunc_t thread_descriptor_t::funcp

Thread function pointer.

Definition at line 77 of file chthreads.h.

Referenced by chSysInit(), and chThdCreateI().

◆ arg

void* thread_descriptor_t::arg

Thread argument.

Definition at line 81 of file chthreads.h.

◆ instance

os_instance_t* thread_descriptor_t::instance

OS instance affinity or NULL for current one.

Definition at line 86 of file chthreads.h.