xref: /haiku/headers/private/kernel/ksignal.h (revision 51978af14a173e7fae0563b562be5603bc652aeb)
1 /*
2 ** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 ** Distributed under the terms of the OpenBeOS License.
4 */
5 #ifndef _KERNEL_SIGNAL_H
6 #define _KERNEL_SIGNAL_H
7 
8 #include <signal.h>
9 
10 #define BLOCKABLE_SIGS	(~((1L << (SIGKILL - 1)) | (1L << (SIGSTOP - 1))))
11 
12 extern int handle_signals(struct thread *t, int state);
13 
14 
15 extern int user_send_signal(pid_t tid, uint sig);
16 extern int user_sigaction(int sig, const struct sigaction *act, struct sigaction *oact);
17 extern bigtime_t user_set_alarm(bigtime_t time, uint32 mode);
18 
19 #endif	/* _KERNEL_SIGNAL_H */
20