Helper Reference Manual 1.7.1
Loading...
Searching...
No Matches
odph_thread_t Struct Reference

Thread state information. More...

#include <threads.h>

Collaboration diagram for odph_thread_t:
[legend]

Data Fields

odph_thread_start_args_t start_args
 Start arguments.
 
int cpu
 CPU ID.
 
uint8_t last
 1: last table entry
 
union { 
 
   struct { 
 
      pthread_t   thread_id 
 Pthread ID. More...
 
      pthread_attr_t   attr 
 Pthread attributes. More...
 
   }   thread 
 For thread implementation.
 
   struct { 
 
      pid_t   pid 
 Process ID. More...
 
      int   status 
 Process state chge status. More...
 
   }   proc 
 For process implementation.
 
};  
 Variant field mappings for thread/process modes.
 

Detailed Description

Thread state information.

Used both in process and thread mode

Definition at line 98 of file threads.h.

Field Documentation

◆ start_args

odph_thread_start_args_t odph_thread_t::start_args

Start arguments.

Definition at line 100 of file threads.h.

◆ cpu

int odph_thread_t::cpu

CPU ID.

Definition at line 103 of file threads.h.

◆ last

uint8_t odph_thread_t::last

1: last table entry

Definition at line 106 of file threads.h.

◆ thread_id

pthread_t odph_thread_t::thread_id

Pthread ID.

Definition at line 112 of file threads.h.

◆ attr

pthread_attr_t odph_thread_t::attr

Pthread attributes.

Definition at line 113 of file threads.h.

◆ pid

pid_t odph_thread_t::pid

Process ID.

Definition at line 118 of file threads.h.

◆ status

int odph_thread_t::status

Process state chge status.

Definition at line 119 of file threads.h.


The documentation for this struct was generated from the following file: