6 /* Copyright (C) 1995,1996,1997,1998,2000, 2002, 2006, 2007 Free Software Foundation, Inc.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
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
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 #include "libguile/__scm.h"
26 #include "libguile/threads.h"
30 SCM_API SCM
scm_sigaction (SCM signum
, SCM handler
, SCM flags
);
31 SCM_API SCM
scm_sigaction_for_thread (SCM signum
, SCM handler
, SCM flags
,
33 SCM_API SCM
scm_restore_signals (void);
34 SCM_API SCM
scm_alarm (SCM i
);
35 SCM_API SCM
scm_setitimer (SCM which_timer
,
36 SCM interval_seconds
, SCM interval_microseconds
,
37 SCM value_seconds
, SCM value_microseconds
);
38 SCM_API SCM
scm_getitimer (SCM which_timer
);
39 SCM_API SCM
scm_pause (void);
40 SCM_API SCM
scm_sleep (SCM i
);
41 SCM_API SCM
scm_usleep (SCM i
);
42 SCM_API SCM
scm_raise (SCM sig
);
43 SCM_API
void scm_init_scmsigs (void);
45 SCM_API
void scm_i_close_signal_pipe (void);
46 SCM_API
void scm_i_ensure_signal_delivery_thread (void);
48 SCM_API scm_i_thread
*scm_i_signal_delivery_thread
;
50 #endif /* SCM_SCMSIGS_H */