Commit | Line | Data |
---|---|---|
0f2d19dd JB |
1 | /* classes: h_files */ |
2 | ||
0527e687 DH |
3 | #ifndef SCM_SCMSIGS_H |
4 | #define SCM_SCMSIGS_H | |
5 | ||
102dbb6f | 6 | /* Copyright (C) 1995,1996,1997,1998,2000, 2002, 2006, 2007, 2008 Free Software Foundation, Inc. |
0527e687 | 7 | * |
73be1d9e | 8 | * This library is free software; you can redistribute it and/or |
53befeb7 NJ |
9 | * modify it under the terms of the GNU Lesser General Public License |
10 | * as published by the Free Software Foundation; either version 3 of | |
11 | * the License, or (at your option) any later version. | |
0527e687 | 12 | * |
53befeb7 NJ |
13 | * This library is distributed in the hope that it will be useful, but |
14 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
73be1d9e MV |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 | * Lesser General Public License for more details. | |
0527e687 | 17 | * |
73be1d9e MV |
18 | * You should have received a copy of the GNU Lesser General Public |
19 | * License along with this library; if not, write to the Free Software | |
53befeb7 NJ |
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
21 | * 02110-1301 USA | |
73be1d9e | 22 | */ |
0527e687 | 23 | |
0f2d19dd | 24 | \f |
0527e687 | 25 | |
5e044c02 | 26 | #include "libguile/__scm.h" |
2e77f720 | 27 | #include "libguile/threads.h" |
0f2d19dd JB |
28 | |
29 | \f | |
0f2d19dd | 30 | |
33b001fd | 31 | SCM_API SCM scm_sigaction (SCM signum, SCM handler, SCM flags); |
2fbc8609 MV |
32 | SCM_API SCM scm_sigaction_for_thread (SCM signum, SCM handler, SCM flags, |
33 | SCM thread); | |
33b001fd MV |
34 | SCM_API SCM scm_restore_signals (void); |
35 | SCM_API SCM scm_alarm (SCM i); | |
36 | SCM_API SCM scm_setitimer (SCM which_timer, | |
37 | SCM interval_seconds, SCM interval_microseconds, | |
38 | SCM value_seconds, SCM value_microseconds); | |
39 | SCM_API SCM scm_getitimer (SCM which_timer); | |
40 | SCM_API SCM scm_pause (void); | |
41 | SCM_API SCM scm_sleep (SCM i); | |
42 | SCM_API SCM scm_usleep (SCM i); | |
43 | SCM_API SCM scm_raise (SCM sig); | |
102dbb6f | 44 | SCM_INTERNAL void scm_init_scmsigs (void); |
0f2d19dd | 45 | |
102dbb6f LC |
46 | SCM_INTERNAL void scm_i_close_signal_pipe (void); |
47 | SCM_INTERNAL void scm_i_ensure_signal_delivery_thread (void); | |
2e77f720 | 48 | |
102dbb6f | 49 | SCM_INTERNAL scm_i_thread *scm_i_signal_delivery_thread; |
2e77f720 | 50 | |
0527e687 | 51 | #endif /* SCM_SCMSIGS_H */ |
89e00824 ML |
52 | |
53 | /* | |
54 | Local Variables: | |
55 | c-file-style: "gnu" | |
56 | End: | |
57 | */ |