GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-10
Constituent: pbs     Tag: rad750
Defines | |
#define | TOV_K_FOREVER (-1) |
The TOV value corresponding to an indefinite wait. The actual value and representation is platform dependent. On some platforms this may be implemented as an inline routine. | |
#define | TOV_K_NOWAIT (0) |
The TOV value corresponding to an no waiting. The actual value and representation is platform dependent. On some platforms this may be implemented as an inline routine. | |
#define | TOV_IS_FOREVER(_tov) ((_tov) == TOV_K_FOREVER) |
Checks if the specified TOV value tov, is the TOV forever value. | |
#define | TOV_IS_NOWAIT(_tov) ((_tov) == TOV_K_NOWAIT) |
Checks if the specified TOV value tov, is the TOV nowait value. | |
#define | TOV_SECS(_tov) ((unsigned int)((_tov) / TOV_K_NSECS_IN_A_SEC)) |
Returns the number of full seconds in the timeout value. | |
#define | TOV_NSECS(_tov) ((unsigned int)((_tov) % TOV_K_NSECS_IN_A_SEC)) |
Returns the number of nanoseconds in the timeout value. | |
#define | TOV_FROM_SECS_NSECS(_secs, _nsecs) |
Converts the specified number of seconds and nanoseconds to a TOV value. | |
#define | TOV_EXTRACT_SECS_NSECS(_tov, _secs, _nsecs) |
Extracts the number of seconds/nanoseconds. | |
Typedefs | |
typedef unsigned long long int | TOV |
An implementation dependent definition of the time out services. |
CVS $Id: TOV.h.vx-xxx-xxx,v 1.4 2004/12/07 16:13:08 russell Exp $
|
Value: { \ _secs = (_tov) / TOV_K_NSECS_IN_A_SEC; \ _nsecs = (_tov) - TOV_K_NSECS_IN_A_SEC * (_secs);\ }
|
|
Value: (unsigned long long int)((((unsigned long long int)(_secs) * \ (unsigned long long int)TOV_K_NSECS_IN_A_SEC)) \ + (_nsecs))
|
|
Checks if the specified TOV value tov, is the TOV forever value.
|
|
Checks if the specified TOV value tov, is the TOV nowait value.
|
|
Returns the number of nanoseconds in the timeout value.
|
|
Returns the number of full seconds in the timeout value.
|
|
An implementation dependent definition of the time out services. This data structure should not be manipulated by an user code. The only reason this data structure is exposed is to allow the user to declare an instance of a TOV. The user should only use the declared routines to interface with a TOV. |