GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> MSG / dev > test_msg_mt / rhel5-64
#include <stdio.h>
#include <PBS/PBS.h>
#include <MSG_tstdefs.h>
Functions | |
unsigned int | MSG_testBuffer (void) |
Driver for the MSG buffering test suite. | |
unsigned int | MSG_testFormat (void) |
Driver for the MSG formatting test suite. | |
unsigned int | MSG_testNoTask (void) |
Driver for the MSG state transition test suite. | |
unsigned int | MSG_testOptions (void) |
Driver for the MSG options test suite. | |
unsigned int | MSG_testState (void) |
Driver for the MSG state transition test suite. | |
unsigned int | MSG_testThread (unsigned int model) |
Driver for the MSG state transition test suite. | |
unsigned int | MSG_test (void) |
Driver for the MSG single-threaded test. | |
int | main (int pcnt, char *parm[]) |
Program to drive the single threaded MSG test suite. | |
Variables | |
static const unsigned int | want_thread = 1 |
Carry knowledge of the threading model into the run time environment. |
CVS $Id: MSG_test.c,v 1.3 2011/03/25 01:05:53 apw Exp $
int main | ( | int | pcnt, | |
char * | parm[] | |||
) |
Program to drive the single threaded MSG test suite.
pcnt | (in) Number of argument tokens | |
parm | (in) Pointers to argument tokens |
0 | Success | |
1 | Failure |
References MSG_test().
unsigned int MSG_testThread | ( | unsigned int | model | ) |
Driver for the MSG state transition test suite.
model | Threading model (0/1 single/multi) |
References _EQ, MSG_action(), MSG_announceMajor(), and MSG_testInt().
Referenced by MSG_test().
static const unsigned int want_thread = 1 [static] |
Carry knowledge of the threading model into the run time environment.
Used mainly for testing purposes.