core_sig.c File Reference

#include "core.h"

Defines

#define DEBUG_NOTIFY   (1<<0)
#define DEBUG_SIGMASK   (1<<1)
#define DEBUG_SIGACT   (1<<2)
#define DEBUG_KILL   (1<<3)
#define DEBUG_SIGCONTEXT   (1<<4)
#define DEBUG_SIGPROCMASK   (1<<5)
#define DEBUG_SENDSIG   (1<<6)
#define DEBUG   (0)
#define HOWSTR(Num)

Functions

int sendsig (struct s_tcb_full *tcb, int sig)
void sys_wait4 (struct s_tcb_full *caller)
void sys_collect (struct s_tcb_full *caller)
void sys_sigaction2 (struct s_tcb_full *caller)
void sys_kill (struct s_tcb_full *caller)
void sys_sigreturn (struct s_tcb_full *caller)
void sys_sigsuspend (struct s_tcb_full *caller)
void sys_sigprocmask (struct s_tcb_full *caller)

Variables

s_tcb_list procs
s_tcb_full * coresrv
s_tcb_list tcbs [PID_HSIZE]
pid_t notify_mgr_pid
int sigbehav []

Define Documentation

#define DEBUG   (0)
 

#define DEBUG_KILL   (1<<3)
 

#define DEBUG_NOTIFY   (1<<0)
 

#define DEBUG_SENDSIG   (1<<6)
 

#define DEBUG_SIGACT   (1<<2)
 

#define DEBUG_SIGCONTEXT   (1<<4)
 

#define DEBUG_SIGMASK   (1<<1)
 

#define DEBUG_SIGPROCMASK   (1<<5)
 

#define HOWSTR Num   ) 
 

Value:

(((Num) == 1) ? "BLOCK" :\
  ((Num) == 2) ? "UNBLOCK" :\
  ((Num) == 3) ? "SETMASK" : "UNKNOWN")


Function Documentation

int sendsig struct s_tcb_full *  tcb,
int  sig
 

void sys_collect struct s_tcb_full *  caller  ) 
 

void sys_kill struct s_tcb_full *  caller  ) 
 

void sys_sigaction2 struct s_tcb_full *  caller  ) 
 

void sys_sigprocmask struct s_tcb_full *  caller  ) 
 

void sys_sigreturn struct s_tcb_full *  caller  ) 
 

void sys_sigsuspend struct s_tcb_full *  caller  ) 
 

void sys_wait4 struct s_tcb_full *  caller  ) 
 


Variable Documentation

struct s_tcb_full* coresrv
 

pid_t notify_mgr_pid
 

struct s_tcb_list procs
 

int sigbehav[]
 

struct s_tcb_list tcbs[PID_HSIZE]
 


Generated on Wed May 24 23:05:53 2006 for LSE/OS by  doxygen 1.4.6