MOS Source Code
Loading...
Searching...
No Matches
signal.h File Reference
+ Include dependency graph for signal.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sigpending_t
 A pending signal. More...
 
struct  sigreturn_data_t
 

Macros

#define ERESTARTSYS   512
 

Functions

long signal_send_to_thread (thread_t *target, signal_t signal)
 Send a signal to a thread.
 
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 (platform_regs_t *regs)
 Prepare to exit to userspace.
 
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.
 
bool signal_has_pending (void)
 Return true if there's a pending signal.
 

Variables

slab_tsigpending_slab
 

Macro Definition Documentation

◆ ERESTARTSYS

#define ERESTARTSYS   512