F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Os::Posix::Task Namespace Reference

Classes

class  PosixTask
 Posix task implementation as driven by pthreads implementation. More...
 
struct  PosixTaskHandle
 

Typedefs

typedef void *(* pthread_func_ptr) (void *)
 

Functions

void * pthread_entry_wrapper (void *wrapper_pointer)
 
PlatformIntType set_stack_size (pthread_attr_t &attributes, const Os::Task::Arguments &arguments)
 
PlatformIntType set_priority_params (pthread_attr_t &attributes, const Os::Task::Arguments &arguments)
 
PlatformIntType set_cpu_affinity (pthread_attr_t &attributes, const Os::Task::Arguments &arguments)
 

Variables

static const PlatformIntType SCHED_POLICY = SCHED_RR
 

Typedef Documentation

◆ pthread_func_ptr

typedef void*(* Os::Posix::Task::pthread_func_ptr) (void *)

Definition at line 23 of file Task.cpp.

Function Documentation

◆ pthread_entry_wrapper()

void* Os::Posix::Task::pthread_entry_wrapper ( void *  wrapper_pointer)

Definition at line 25 of file Task.cpp.

◆ set_cpu_affinity()

PlatformIntType Os::Posix::Task::set_cpu_affinity ( pthread_attr_t &  attributes,
const Os::Task::Arguments arguments 
)

Definition at line 112 of file Task.cpp.

◆ set_priority_params()

PlatformIntType Os::Posix::Task::set_priority_params ( pthread_attr_t &  attributes,
const Os::Task::Arguments arguments 
)

Definition at line 76 of file Task.cpp.

◆ set_stack_size()

PlatformIntType Os::Posix::Task::set_stack_size ( pthread_attr_t &  attributes,
const Os::Task::Arguments arguments 
)

Definition at line 32 of file Task.cpp.

Variable Documentation

◆ SCHED_POLICY

const PlatformIntType Os::Posix::Task::SCHED_POLICY = SCHED_RR
static

Definition at line 21 of file Task.cpp.