source: git/Singular/cntrlc.h @ f5d539

fieker-DuValspielwiese
Last change on this file since f5d539 was 52e6ef, checked in by Hans Schoenemann <hannes@…>, 8 years ago
chg: use misc/auxiliary.h in libpolys and kernel/mod2.h in Singular for config
  • Property mode set to 100644
File size: 659 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 <kernel/mod2.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.