#include <csetjmp>
#include <csignal>
#include <be_error_exception.h>
Go to the source code of this file.
|
namespace | BiometricEvaluation |
| This software was developed at the National Institute of Standards and Technology (NIST) by employees of the Federal Government in the course of their official duties.
|
|
namespace | BiometricEvaluation::Error |
| Exceptions, and other error handling.
|
|
◆ BEGIN_SIGNAL_BLOCK
#define BEGIN_SIGNAL_BLOCK |
( |
|
_sigmgr, |
|
|
|
_blockname |
|
) |
| |
Value: do { \
if (!(_sigmgr)->isEnabled()) \
break; \
(_sigmgr)->clearSigHandled(); \
(_sigmgr)->stop(); \
if (sigsetjmp( \
{ \
(_sigmgr)->setSigHandled(); \
goto _blockname ## _end; \
} \
(_sigmgr)->start(); \
} while (0)
static sigjmp_buf _sigJumpBuf
The jump buffer used by the signal handler.
Definition at line 22 of file be_error_signal_manager.h.
◆ END_SIGNAL_BLOCK
#define END_SIGNAL_BLOCK |
( |
|
_sigmgr, |
|
|
|
_blockname |
|
) |
| |
Value: do { \
if (!(_sigmgr)->isEnabled()) \
break; \
_blockname ## _end: \
(_sigmgr)->stop(); \
} while (0);
Definition at line 36 of file be_error_signal_manager.h.
◆ ABORT_SIGNAL_MANAGER
#define ABORT_SIGNAL_MANAGER |
( |
|
_sigmgr | ) |
|
Value: do { \
if (!(_sigmgr)->isEnabled()) \
break; \
(_sigmgr)->stop(); \
} while (0);
Definition at line 43 of file be_error_signal_manager.h.