GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-8
Constituent: pbs     Tag: linux-gcc
#include <errno.h>
#include <stdio.h>
#include <sys/time.h>
#include "PBS/BUG.h"
#include "PBS/TASK.h"
#include "PBS/TASK.ih"
#include "TASK_pvtdefs.h"
#include "impl/TOV_pvtdefs.h.px-xxx-xxx"
#include "PBI/Alias.h"
Include dependency graph for WUT.c.px-xxx-xxx:
Data Structures | |
struct | _WCB_qlt |
WakeUp Control Block Que Locking and Timeout Control. More... | |
struct | _WCB_specific |
The platform specific piece of the WUT control structure. More... | |
struct | _WCB |
WakeUp Control Block. More... | |
Defines | |
#define | WUT_K_TASK_PRIORITY TASK_K_PRIORITY_LIMITS_MAX - 2 |
Priority of the WUT handler task. | |
Typedefs | |
typedef _WCB_qlt | WCB_qlt |
Typedef for struct _WCB_qlt. | |
typedef _WCB_specific | WCB_specific |
Typedef for struct _WCB_specific. | |
Functions | |
static __inline void | wut_period_set (unsigned int period) |
Noop on host systems. | |
STATIC void | WUT_sys_handler (WCB *wcb) |
The timer interrupt/task handler. | |
STATIC int | cmp_lt_tov (TOV tov_a, TOV tov_b) |
Platform implementation dependent routine to compare to timeout values. | |
STATIC int | lock_que (WCB *wcb) |
Platform implementation dependent routine to lock the WUT timer que. | |
STATIC void | unlock_que (WCB *wcb, int key) |
Platform implementation dependent routine to unlock the WUT timer que. | |
STATIC void | arm_handler (WCB *wcb, TOV tov) |
Seeds the timer interrupt to handle expire a tov. | |
STATIC void | arm_handler_nxt_wut (WCB *wcb, const WUT_tmr *wut) |
Seeds the timer interrupt to handle expire at the timeout associated with the specified WUT timer entry. | |
STATIC void | wut_sys_kill (void *prm, WUT_tmr *wut) |
Kills off the WUT task handler. | |
STATIC int | wut_sys_connect (WCB *wcb) |
Platform dependent part of the WUT system connection process. | |
STATIC int | wut_sys_shutdown (WCB *wcb) |
Platform dependent shutdown of the WUT system. | |
WUT_cb_status | WUT_keepalive_rtn (WUT_keepalive_ctx *keepalive, WUT_tmr *wut) |
Simple WUT timer callback routine used to drive the VxWorks system clock. | |
int | WUT_dec_get () |
Gets the current time left till the next timer expiration. | |
Variables | |
WCB | Wcb |
Statically allocate control block as a facilty private structure. |
CVS $Id: WUT.c.px-xxx-xxx,v 1.10 2005/10/01 01:00:14 russell Exp $
The POSIX implementation of the WakeUp Timers (WUT) facility.
|
Typedef for struct _WCB_qlt. This structure contains all the control variables for the WakeUp Timer facility used to control the locking timeouts. It is a private platform dependent structure. |
|
Seeds the timer interrupt to handle expire a tov.
|
|
Seeds the timer interrupt to handle expire at the timeout associated with the specified WUT timer entry.
|
|
Platform implementation dependent routine to compare to timeout values.
|
|
Platform implementation dependent routine to lock the WUT timer que.
|
|
Platform implementation dependent routine to unlock the WUT timer que.
|
|
Gets the current time left till the next timer expiration. This primarily used as a debugging aid. |
|
Simple WUT timer callback routine used to drive the VxWorks system clock.
|
|
Noop on host systems.
|
|
Platform dependent part of the WUT system connection process.
|
|
The timer interrupt/task handler.
|
|
Kills off the WUT task handler.
|
|
Platform dependent shutdown of the WUT system.
|