C Microkernel Realtime eXecutive
Realtime Operating System for Cortex-M based microcontrollers
 
Loading...
Searching...
No Matches
OS_thread_create_t Struct Reference

Structure describing auto-spawned thread. More...

Data Fields

const struct OS_process_definition_tprocess
 Owning process.
 
entrypoint_tentrypoint
 Entrypoint address.
 
void * data
 User data passed to entrypoint function.
 
uint8_t priority
 Thread priority.
 

Detailed Description

Structure describing auto-spawned thread.

This is a mechanism of creating threads without need to explicitly call thread_create(). Kernel will do that automatically upon main calling os_start().

Field Documentation

◆ data

void* OS_thread_create_t::data

User data passed to entrypoint function.

◆ entrypoint

entrypoint_t* OS_thread_create_t::entrypoint

Entrypoint address.

◆ priority

uint8_t OS_thread_create_t::priority

Thread priority.

◆ process

const struct OS_process_definition_t* OS_thread_create_t::process

Owning process.