GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> PBS / dev > pbs / rhel6-32
Functions | |
void | BUG_check (int status, const char *reason,...) |
Simple routine to declare a BUG check. |
CVS $Id: BUG.h,v 1.1.1.1 2003/05/20 19:01:42 russell Exp $
These are really just placeholders until a more serious set of routines can be written.
void BUG_check | ( | int | status, | |
const char * | reason, | |||
... | ||||
) |
Simple routine to declare a BUG check.
status | Status code indicating the reason for the bug check | |
reason | A printf() style format string followed by the arguments | |
status | A status value to be associated with the failure | |
reason | A C-style formatting string |
EXAMPLE
BUG_check (0xdeadbeef, "Mad Cow Disease takes over GFS inflicting %d programmers\n", nProgrammers);
References PBS_panic(), and REG_LR.
Referenced by arm_handler(), arm_handler_nxt_wut(), lock_que(), RW__lock(), RW__lock2(), RW__unlock(), RW__unlock2(), RW__wait(), TASK_activate(), TASK_resume(), TASK_suspend(), TASK_wait(), TASK_wrapper(), unlock_que(), WUT_sys_handler(), and wut_sys_kill().