GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > ITC / V3-1-1
Constituent: itc     Tag: rad750
#include <string.h>
#include "PBI/TBD_id.h"
#include "PBS/FFS.ih"
#include "PBS/FORK.h"
#include "PBS/MBA.h"
#include "PBS/TBD.ih"
#include "MSG/MSG_pubdefs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "ITC/ITC_msgs.h"
#include "ITC_inline.ih"
#include "ITC_prvdefs.h"
Include dependency graph for ITC_task.c:
Functions | |
FORK_cb_status | ableQueues (unsigned int iqm, unsigned int opt) |
Enable/disable fork queues. | |
unsigned int | checkState (ITC_ControlState creq, ITC_Task *tsk, ITC_TaskState treq, const char *func) |
Check the state of master and task control blocks. | |
unsigned int | createQueues (ITC_TaskID tid, unsigned int want) |
Allocate and initialize a block of queues. | |
void | deleteQueues (ITC_TaskID tid, unsigned int have) |
De-allocate a block of queues. | |
unsigned int | startTask (ITC_Task *task, const TASK_attr *attr, ITC_cb_Meta *rtn, void *prm, unsigned int wait) |
Fork a task with the queues described in the task handle. | |
unsigned int | ITC_addQueue (ITC_Task *task, ITC_QueueID qid) |
Add a queue to a task. | |
unsigned int | ITC_attachApid (ITC_Task *task, ITC_QueueID qid, const ITC_ApidDef *def, void *prm) |
Attach an APID definition to a queue. | |
unsigned int | ITC_attachCommand (ITC_Task *task, ITC_QueueID qid, const ITC_CommandList *lst, void *prm) |
Attach a command list to a queue (only one per queue). | |
unsigned int | ITC_attachMemory (ITC_Task *task, ITC_QueueID qid, ITC_cb_Memory *rtn, void *prm) |
Attach a memory manager description to a queue. | |
unsigned int | ITC_attachRaw (ITC_Task *task, ITC_QueueID qid, ITC_cb_Processor *rtn, void *prm) |
Attach a raw processor to a queue (only one per queue). | |
unsigned int | ITC_convertDispatch (ITC_Task *task, ITC_QueueID qid, ITC_cb_Dispatch *rtn, void *prm) |
Modify the task dispatch routine with a new plug-in. | |
unsigned int | ITC_convertTaskLite (ITC_Task *task) |
Convert a task to a lightweight ITC task. | |
unsigned int | ITC_createTask (ITC_Task **task, ITC_TaskID tid) |
Create a task level container for queues. | |
unsigned int | ITC_deleteTask (ITC_Task *task) |
Delete a task container. | |
unsigned int | ITC_detachApid (const ITC_ApidDef *def) |
Detach an APID definition from a queue. | |
unsigned int | ITC_detachCommand (ITC_Task *task, ITC_QueueID qid) |
Detach a command list from a queue. | |
unsigned int | ITC_detachMemory (ITC_Task *task, ITC_QueueID qid) |
Detach a memory control description from a queue. | |
unsigned int | ITC_detachRaw (ITC_Task *task, ITC_QueueID qid) |
Detach a raw processor from a queue. | |
FORK_cb_status | ITC_disableQueues (unsigned int iqm) |
Disable a set of ITC queues. | |
FORK_cb_status | ITC_enableQueues (unsigned int iqm) |
Enable a set of ITC queues. | |
FORK_cb_status | ITC_isTaskDrained (ITC_Task *task) |
Determine if a task has drained all its activities. | |
unsigned int | ITC_removeQueue (ITC_Task *task, ITC_QueueID qid) |
Remove a queue from a task. | |
unsigned int | ITC_redirectApid (unsigned int APID, ITC_TaskID ntid, ITC_QueueID nqid, ITC_TaskID *otid, ITC_QueueID *oqid) |
Redirect APID dispatch to a new task/queue. | |
unsigned int | ITC_revertDispatch (ITC_Task *task, ITC_QueueID qid) |
Revert the task dispatch routine to the default plug-in. | |
unsigned int | ITC_revertTaskLite (ITC_Task *task) |
Revert a lightweight ITC task to a regular task. | |
unsigned int | ITC_startTask (ITC_Task *task, const TASK_attr *attr, ITC_cb_Meta *rtn, void *prm) |
Fork the specified ITC task (non-blocking version). | |
unsigned int | ITC_startTaskW (ITC_Task *task, const TASK_attr *attr, ITC_cb_Meta *rtn, void *prm) |
Fork the specified ITC task (blocking version). | |
unsigned int | ITC_stopTask (ITC_Task *task, ITC_cb_Meta *rtn, void *prm) |
Stop an ITC task. | |
Variables | |
const char * | ITC_tsk_states [ITC_L_TSK_STATES] |
String constants for ITC task control block states. | |
const char * | ITC_tsk_types [ITC_L_TSK_TYPES] |
String constants for ITC task types. | |
const char | s_initialized [] = { "initialized" } |
The string "initialized". | |
const char | s_uninitialized [] = { "uninitialized" } |
The string "initialized". |
CVS $Id: ITC_task.c,v 1.14 2005/05/02 20:21:44 apw Exp $
|
Enable/disable fork queues.
|
Here is the call graph for this function:
|
Check the state of master and task control blocks.
|
|
Allocate and initialize a block of queues.
|
Here is the call graph for this function:
|
De-allocate a block of queues.
|
|
Add a queue to a task.
|
Here is the call graph for this function:
|
Attach an APID definition to a queue.
|
Here is the call graph for this function:
|
Attach a command list to a queue (only one per queue).
|
Here is the call graph for this function:
|
Attach a memory manager description to a queue.
|
Here is the call graph for this function:
|
Attach a raw processor to a queue (only one per queue).
|
Here is the call graph for this function:
|
Modify the task dispatch routine with a new plug-in.
|
Here is the call graph for this function:
|
Convert a task to a lightweight ITC task.
|
Here is the call graph for this function:
|
Create a task level container for queues.
|
Here is the call graph for this function:
|
Delete a task container.
|
Here is the call graph for this function:
|
Detach an APID definition from a queue.
|
Here is the call graph for this function:
|
Detach a command list from a queue.
|
Here is the call graph for this function:
|
Detach a memory control description from a queue.
|
Here is the call graph for this function:
|
Detach a raw processor from a queue.
|
Here is the call graph for this function:
|
Disable a set of ITC queues.
|
Here is the call graph for this function:
|
Enable a set of ITC queues.
|
Here is the call graph for this function:
|
Determine if a task has drained all its activities.
|
|
Redirect APID dispatch to a new task/queue.
|
Here is the call graph for this function:
|
Remove a queue from a task.
|
Here is the call graph for this function:
|
Revert the task dispatch routine to the default plug-in.
|
Here is the call graph for this function:
|
Revert a lightweight ITC task to a regular task.
|
Here is the call graph for this function:
|
Fork the specified ITC task (non-blocking version).
|
Here is the call graph for this function:
|
Fork the specified ITC task (blocking version).
|
Here is the call graph for this function:
|
Stop an ITC task.
|
Here is the call graph for this function:
|
Fork a task with the queues described in the task handle.
|
Here is the call graph for this function:
|
Initial value: { "uninitialized", "initialized", "starting", "started", "stopsync", "stopping", "converted" }
|
|
Initial value: { "service", "application", "lightweight" }
|