GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EFC / V4-2-2

Constituent: efc     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

EHP.c File Reference

Event Handler Proxy, creates a proxy task to handle event related processing that is either not appropriate or too time consuming (i.e. results in unacceptable latency) in the LCBD event handling task). More...

#include "EFC/EHP.h"
#include "CPU_DB/CPU_DB_pubdefs.h"
#include "PBS/TASK.h"
#include "PBS/FORK.h"
#include "PBS/TOC.h"
#include "PBS/MBA.h"
#include <string.h>

Include dependency graph for EHP.c:


Data Structures

struct  _EHP

Defines

#define NQUES   31

Typedefs

typedef _EHP EHP

Functions

FORK_fcb * EHP_create (void)
 Creates the Event Handler Proxy task.
unsigned int EHP_destroy (void)
 Destroys the Event Handler Proxy task.
FORK_que * EHP_queGet (int que_id)
 Gets the fork que handle of the specified fork que.

Variables

static EHP Ehp = { NULL }

Detailed Description

Event Handler Proxy, creates a proxy task to handle event related processing that is either not appropriate or too time consuming (i.e. results in unacceptable latency) in the LCBD event handling task).

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: EHP.c,v 1.1 2007/10/10 23:40:43 russell Exp $

A FORK task with 31 queues is established. Clients may request one of the que to do their work in and then que such work using the normal FORK_qusr routine.


Function Documentation

FORK_fcb * EHP_create void   ) 
 

Creates the Event Handler Proxy task.

Returns:
The fork control block of the created task or NULL on failure

unsigned int EHP_destroy void   ) 
 

Destroys the Event Handler Proxy task.

Returns:
The status from FORK_destroy

FORK_que * EHP_queGet int  que_id  ) 
 

Gets the fork que handle of the specified fork que.

Returns:
The FORK que handle or NULL on failure
This routine will create the fork task if is does not already exist.


Generated on Fri Sep 5 01:21:21 2008 by  doxygen 1.4.4