 |
F´ Flight Software - C/C++ Documentation
NASA-v2.1.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
10 TaskRegistry* Task::s_taskRegistry = 0;
14 return Task::s_numTasks;
23 return this->m_started;
27 this->m_started = started;
31 return this->m_suspendedOnPurpose;
35 return this->m_handle;
40 Task::s_taskRegistry = registry;
48 return this->
start(name, routine, arg, priority, stackSize, cpuAffinity, identifier);
void setStarted(bool started)
set task to started when thread is fully up. Avoids a VxWorks race condition.
static NATIVE_INT_TYPE getNumTasks(void)
TaskRegistry()
constructor for task registry
static void registerTaskRegistry(TaskRegistry *registry)
bool wasSuspended(void)
returns whether or not task was suspended on purpose
static const NATIVE_UINT_TYPE TASK_DEFAULT
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
bool isStarted(void)
check to see if task is started
virtual ~TaskRegistry()
destructor for task registry
TaskStatus start(const Fw::StringBase &name, taskRoutine routine, void *arg, NATIVE_UINT_TYPE priority=TASK_DEFAULT, NATIVE_UINT_TYPE stackSize=TASK_DEFAULT, NATIVE_UINT_TYPE cpuAffinity=TASK_DEFAULT, NATIVE_UINT_TYPE identifier=TASK_DEFAULT)
start the task
POINTER_CAST getRawHandle()
I32 getIdentifier(void)
get the identifier for the task
int NATIVE_INT_TYPE
native integer type declaration