GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-14

Constituent: pbs     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

TASK.h.vx-xxx-xxx File Reference

VxWorks implementation specific information. More...

#include <taskLib.h>

Include dependency graph for TASK.h.vx-xxx-xxx:


Defines

#define TASK_IMPLEMENTATION_VX
 Note that we are using VxWorks implementation of the tasking model.
#define TASK_K_PRIORITY_ORDER_LO_TO_HI   0
 A boolean indicating whether low priority tasks have low numbers and high priority tasks have high numbers. This is a platform dependent value.
#define TASK_K_STACK_SIZE_MINIMUM   20000
 Minimum acceptable stack size.
#define TASK_K_STACK_SIZE_DEFAULT   20000
 Default stack size.

Typedefs

typedef enum _TASK_options TASK_options
 Typedef for enum _TASK_options.
typedef enum _TASK_priority_limits TASK_priority_limits
 Typedef for enum _TASK_priority_limits.
typedef enum _TASK_priority_order TASK_priority_order
 Typedef for enum _TASK_priority_order.
typedef semaphore * TASK_block_handle
 The abstract data type for a task block handle.

Enumerations

enum  _TASK_options {
  TASK_M_OPTIONS_FP = VX_FP_TASK,
  TASK_M_OPTIONS_ENV = VX_PRIVATE_ENV,
  TASK_M_OPTIONS_NO_STACK_FILL = VX_NO_STACK_FILL,
  TASK_M_OPTIONS_UNBREAKABLE = VX_UNBREAKABLE,
  TASK_M_OPTIONS_DETACH = 0x80000000
}
 VxWorks definitions of the option bits. More...
enum  _TASK_priority_limits {
  TASK_K_PRIORITY_LIMITS_MIN = 0,
  TASK_K_PRIORITY_LIMITS_MAX = 255
}
 Gives the lowest and highest number that can be specified as a priority for a given implementation. More...
enum  _TASK_priority_order {
  TASK_K_PRIORITY_ORDER_LO = 255,
  TASK_K_PRIORITY_ORDER_HI = 0
}
 Gives the priority number for the task with the lowest and highest priority for a given implementation. More...

Detailed Description

VxWorks implementation specific information.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: TASK.h.vx-xxx-xxx,v 1.3 2004/07/27 23:55:33 russell Exp $
  

Define Documentation

#define TASK_K_PRIORITY_ORDER_LO_TO_HI   0
 

A boolean indicating whether low priority tasks have low numbers and high priority tasks have high numbers. This is a platform dependent value.

Warning:
This must be a preprocessor symbol since code uses a preprocessor test on this symbol. Remember, the preprocessor knows nothing about the C language, including the value of an enumerated type.


Typedef Documentation

TASK_block_handle
 

The abstract data type for a task block handle.

See also:
TASK_block

TASK_unblock

This is used by the TASK_block/TASK_unblock pair of routines to provide an easy TASK synchronization method. This is useful in implementing synchronous versions of asynchronous interfaces

TASK_options
 

Typedef for enum _TASK_options.

This enumeration provides the definitions for the bit masks used to set the options in the TASK attribute options parameter. These are really just synomyns for the VxWorks options, but a similar set is defined for the POSIX implementation. Many of these options are ignored in the POSIX implementation, but this gives at least some feel of portability to the code without going lowest common denominator.

TASK_priority_limits
 

Typedef for enum _TASK_priority_limits.

The lowest and highest number that can be specified as a priority for a given implementation. Note that this is not the same as the numerical specification of a task with the highest priority and one with the lowest priority. That is given by TASK_priority_order.

TASK_priority_order
 

Typedef for enum _TASK_priority_order.

This gives the priority number for the task's with the lowest and highest priority for a given implementation. Note that this is not the same as the numerical specification of a task's priority. That is given by TASK_priority_limits.


Enumeration Type Documentation

enum _TASK_options
 

VxWorks definitions of the option bits.

Enumerator:
TASK_M_OPTIONS_FP  Task uses floating point facility
TASK_M_OPTIONS_ENV  Task includes private environment support
TASK_M_OPTIONS_NO_STACK_FILL  Task's stack will not be initialized with a known pattern
TASK_M_OPTIONS_UNBREAKABLE  Task is does not allow breakpoint debugging
TASK_M_OPTIONS_DETACH  If specified the task is not joinable

enum _TASK_priority_limits
 

Gives the lowest and highest number that can be specified as a priority for a given implementation.

Enumerator:
TASK_K_PRIORITY_LIMITS_MIN  Minimum priority specification
TASK_K_PRIORITY_LIMITS_MAX  Maximum priority specification

enum _TASK_priority_order
 

Gives the priority number for the task with the lowest and highest priority for a given implementation.

Enumerator:
TASK_K_PRIORITY_ORDER_LO  Priority specification for the lowest priority task
TASK_K_PRIORITY_ORDER_HI  Priority specification for the highest priority task


Generated on Wed Feb 14 17:57:21 2007 by  doxygen 1.4.4