source: git/Singular/cntrlc.h

spielwiese
Last change on this file was a968b04, checked in by Frédéric Chapoton <chapoton@…>, 9 days ago
fix some typos in header .h files (#1237)
  • Property mode set to 100644
File size: 711 bytes
Line 
1#ifndef CNTRLC_H
2#define CNTRLC_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/*
7* ABSTRACT - interrupt and signal handling
8*/
9#include <setjmp.h>
10#include "kernel/mod2.h"
11#include "kernel/structs.h"
12
13EXTERN_VAR jmp_buf si_start_jmpbuf;
14EXTERN_VAR short si_restart;
15EXTERN_VAR int siRandomStart;
16void init_signals(void);
17
18EXTERN_VAR BOOLEAN singular_in_batchmode;
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 */
22EXTERN_VAR volatile BOOLEAN do_shutdown;
23EXTERN_VAR volatile int defer_shutdown;
24
25void si_set_signals();
26void si_reset_signals();
27#endif
Note: See TracBrowser for help on using the repository browser.