1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
/****************************************************************
* *
* Copyright (c) 2013-2024 Fidelity National Information *
* Services, Inc. and/or its subsidiaries. All rights reserved. *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#include "mdef.h"
#include "error.h"
#include "gtm_threadgbl.h"
GBLREF boolean_t created_core, need_core, dont_want_core;
#ifdef DEBUG
#include "have_crit.h"
GBLREF boolean_t ok_to_UNWIND_in_exit_handling;
#endif
CONDITION_HANDLER(gds_rundown_ch)
{
START_CH(TRUE);
/* To get as virgin a state as possible in the core, take the core now if we
* would be doing so anyway. This will set created_core so it doesn't happen again.
*/
if (DUMPABLE && !SUPPRESS_DUMP)
{
need_core = TRUE;
gtm_fork_n_core();
}
assert(INTRPT_IN_GDS_RUNDOWN == intrpt_ok_state);
PRN_ERROR;
DEBUG_ONLY(ok_to_UNWIND_in_exit_handling = TRUE);
UNWIND(NULL, NULL);
}
|