source: git/Singular/cntrlc.h @ 35d0c19

spielwiese
Last change on this file since 35d0c19 was 35d0c19, checked in by Hans Schoenemann <hannes@…>, 10 years ago
windows port: removed htmlhelp, sing_win.*
  • Property mode set to 100644
File size: 662 bytes
Line 
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 <misc/auxiliary.h>
11#include <kernel/structs.h>
12
13extern jmp_buf si_start_jmpbuf;
14extern short si_restart;
15extern int siRandomStart;
16extern BOOLEAN siCntrlc;
17void init_signals();
18
19extern BOOLEAN singular_in_batchmode;
20/* TRUE for child of a fork or started with --batch*/
21
22/* for deferring the call of m2_end() in SIGTERM handler if necessary */
23extern volatile BOOLEAN do_shutdown;
24extern volatile int defer_shutdown;
25
26#endif
Note: See TracBrowser for help on using the repository browser.