[BACK]Return to signalvar.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / sys

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/sys/signalvar.h between version 1.62 and 1.62.4.1

version 1.62, 2005/12/11 12:25:21 version 1.62.4.1, 2006/09/09 02:59:42
Line 111  do {         \
Line 111  do {         \
 #define CURSIG(l)       (l->l_proc->p_sigctx.ps_sigcheck ? issignal(l) : 0)  #define CURSIG(l)       (l->l_proc->p_sigctx.ps_sigcheck ? issignal(l) : 0)
   
 /*  /*
  * Clear a pending signal from a process.   * Clear all pending signal from a process.
  */   */
 #define CLRSIG(p, sig)  sigdelset(&p->p_sigctx.ps_siglist, sig)  #define CLRSIG(l) \
           do { \
                   int _sg; \
                   while ((_sg = CURSIG(l)) != 0) \
                           sigdelset(&(l)->l_proc->p_sigctx.ps_siglist, _sg); \
           } while (/*CONSTCOND*/0)
   
 /*  /*
  * Signal properties and actions.   * Signal properties and actions.
Line 136  do {         \
Line 141  do {         \
 extern sigset_t contsigmask, stopsigmask, sigcantmask;  extern sigset_t contsigmask, stopsigmask, sigcantmask;
   
 struct vnode;  struct vnode;
 struct ucred;  
   
 /*  /*
  * Machine-independent functions:   * Machine-independent functions:
Line 155  void kpsignal1(struct proc *, struct ksi
Line 159  void kpsignal1(struct proc *, struct ksi
 #define kpsignal(p, ksi, data)          kpsignal1((p), (ksi), (data), 1)  #define kpsignal(p, ksi, data)          kpsignal1((p), (ksi), (data), 1)
 #define psignal(p, sig)                 psignal1((p), (sig), 1)  #define psignal(p, sig)                 psignal1((p), (sig), 1)
 #define sched_psignal(p, sig)           psignal1((p), (sig), 0)  #define sched_psignal(p, sig)           psignal1((p), (sig), 0)
   void    child_psignal(struct proc *, int);
 void    siginit(struct proc *);  void    siginit(struct proc *);
 void    trapsignal(struct lwp *, const struct ksiginfo *);  void    trapsignal(struct lwp *, const struct ksiginfo *);
 void    sigexit(struct lwp *, int);  void    sigexit(struct lwp *, int);
 void    killproc(struct proc *, const char *);  void    killproc(struct proc *, const char *);
 void    setsigvec(struct proc *, int, struct sigaction *);  void    setsigvec(struct proc *, int, struct sigaction *);
 int     killpg1(struct proc *, struct ksiginfo *, int, int);  int     killpg1(struct lwp *, struct ksiginfo *, int, int);
 struct lwp *proc_unstop(struct proc *p);  struct lwp *proc_unstop(struct proc *p);
   
 int     sigaction1(struct proc *, int, const struct sigaction *,  int     sigaction1(struct proc *, int, const struct sigaction *,

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.62.4.1

CVSweb <webmaster@jp.NetBSD.org>