1 /* 2 ** Copyright 2003-2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the Haiku License. 4 */ 5 #ifndef _KERNEL_SIGNAL_H 6 #define _KERNEL_SIGNAL_H 7 8 9 #include <signal.h> 10 11 #define BLOCKABLE_SIGS (~((1L << (SIGKILL - 1)) | (1L << (SIGSTOP - 1)))) 12 13 14 extern int handle_signals(struct thread *t, int state); 15 16 extern int _user_send_signal(pid_t tid, uint sig); 17 extern int _user_sigprocmask(int how, const sigset_t *set, sigset_t *oldSet); 18 extern int _user_sigaction(int sig, const struct sigaction *action, struct sigaction *oldAction); 19 extern bigtime_t _user_set_alarm(bigtime_t time, uint32 mode); 20 21 #endif /* _KERNEL_SIGNAL_H */ 22