10#define ERESTARTSYS 512
64typedef struct _sigreturn_data
long signal_send_to_process(process_t *target, signal_t signal)
Send a signal to a process, an arbitrary thread will be chosen to receive the signal.
void signal_exit_to_user_prepare_syscall(platform_regs_t *regs, reg_t syscall_nr, reg_t syscall_ret)
Prepare to exit to userspace after a syscall.
void signal_on_returned(sigreturn_data_t *supplimentary_data)
Return from a signal handler.
long signal_send_to_thread(thread_t *target, signal_t signal)
Send a signal to a thread.
bool signal_has_pending(void)
Return true if there's a pending signal.
void signal_exit_to_user_prepare(platform_regs_t *regs)
Prepare to exit to userspace.