handle_signals() now takes a pointer to a cpu_state, so that after restoring and re-disabling interrupts the state can be propagated back to the caller.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11309 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
bc797a9ee5
commit
1ec1e1185b
|
@ -6,12 +6,13 @@
|
|||
#define _KERNEL_SIGNAL_H
|
||||
|
||||
|
||||
#include <KernelExport.h>
|
||||
#include <signal.h>
|
||||
|
||||
#define BLOCKABLE_SIGS (~((1L << (SIGKILL - 1)) | (1L << (SIGSTOP - 1))))
|
||||
|
||||
|
||||
extern int handle_signals(struct thread *t, int state);
|
||||
extern int handle_signals(struct thread *t, cpu_status *state);
|
||||
|
||||
extern int _user_send_signal(pid_t tid, uint sig);
|
||||
extern int _user_sigprocmask(int how, const sigset_t *set, sigset_t *oldSet);
|
||||
|
|
Loading…
Reference in New Issue