PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
src
util
pism_signal.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2007, 2017 Jed Brown and Constantine Khrulev
3
4
This file is part of Pism.
5
6
Pism is free software; you can redistribute it and/or modify it under the
7
terms of the GNU General Public License as published by the Free Software
8
Foundation; either version 3 of the License, or (at your option) any later
9
version.
10
11
Pism is distributed in the hope that it will be useful, but WITHOUT ANY
12
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14
details.
15
16
You should have received a copy of the GNU General Public License
17
along with Pism; if not, write to the Free Software
18
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
#ifndef PISM_SIGNAL_H
22
#define PISM_SIGNAL_H
23
24
#include <signal.h>
25
26
extern
volatile
sig_atomic_t
pism_signal
;
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
void
pism_signal_handler
(
int
sig);
31
}
32
#else
33
void
pism_signal_handler
(
int
sig);
34
#endif
35
36
#endif
/* PISM_SIGNAL_H */
pism_signal
volatile sig_atomic_t pism_signal
Definition:
pism_signal.c:23
pism_signal_handler
void pism_signal_handler(int sig)
Definition:
pism_signal.c:25
Generated by
1.9.1