HALFRED  0.4.0
Data Fields
OSTaskDesc Struct Reference

Definition of an OSTask descriptor. More...

Detailed Description

Definition of an OSTask descriptor.

#include <hali_os_task.h>

Data Fields

OSTaskNativeHandle handle
 native OS thread handle
 
OSTaskFunction taskFunc
 task implementation func
 
void * arg
 task argument
 
int result
 task result
 
int features
 task features
 
OSSem joinSem
 semaphore used to realize the joinable feature of a task
 
volatile sig_atomic_t killSignal
 signal to realize the mortal feature of a task
 
OSCntSem wakeupSem
 counting semaphore to realize the sleepy feature of a task
 

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