ChibiOS 21.11.4
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.
stkalign_twbase
 Pointer to the working area base.
stkalign_twend
 Pointer to the working area end.
tprio_t prio
 Thread priority.
tfunc_t funcp
 Thread function pointer.
void * arg
 Thread argument.
os_instance_tinstance
 OS instance affinity or NULL for current one.

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.

Referenced by chThdCreateSuspendedI().

◆ wbase

stkalign_t* thread_descriptor_t::wbase

Pointer to the working area base.

Definition at line 65 of file chthreads.h.

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

◆ wend

stkalign_t* thread_descriptor_t::wend

Pointer to the working area end.

Definition at line 69 of file chthreads.h.

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

◆ prio

tprio_t thread_descriptor_t::prio

Thread priority.

Definition at line 73 of file chthreads.h.

Referenced by chThdCreateI(), and chThdCreateSuspendedI().

◆ funcp

tfunc_t thread_descriptor_t::funcp

Thread function pointer.

Definition at line 77 of file chthreads.h.

Referenced by chSysInit(), chThdCreateI(), and chThdCreateSuspendedI().

◆ arg

void* thread_descriptor_t::arg

Thread argument.

Definition at line 81 of file chthreads.h.

Referenced by chThdCreateI(), and chThdCreateSuspendedI().

◆ instance

os_instance_t* thread_descriptor_t::instance

OS instance affinity or NULL for current one.

Definition at line 86 of file chthreads.h.

Referenced by chThdCreateSuspendedI().