My Project
Loading...
Searching...
No Matches
cntrlc.h
Go to the documentation of this file.
1#ifndef CNTRLC_H
2#define CNTRLC_H
3/****************************************
4* Computer Algebra System SINGULAR *
5****************************************/
6/*
7* ABSTRACT - interupt and signal handling
8*/
9#include <setjmp.h>
10#include "kernel/mod2.h"
11#include "kernel/structs.h"
12
16void init_signals(void);
17
19/* TRUE for child of a fork or started with --batch*/
20
21/* for deferring the call of m2_end() in SIGTERM handler if necessary */
24
25#endif
int BOOLEAN
Definition: auxiliary.h:87
EXTERN_VAR jmp_buf si_start_jmpbuf
Definition: cntrlc.h:13
void init_signals(void)
init signal handlers and error handling for libraries: NTL, factory
Definition: cntrlc.cc:527
EXTERN_VAR short si_restart
Definition: cntrlc.h:14
EXTERN_VAR volatile BOOLEAN do_shutdown
Definition: cntrlc.h:22
EXTERN_VAR volatile int defer_shutdown
Definition: cntrlc.h:23
EXTERN_VAR BOOLEAN singular_in_batchmode
Definition: cntrlc.h:18
EXTERN_VAR int siRandomStart
Definition: cntrlc.h:15
#define EXTERN_VAR
Definition: globaldefs.h:6