cvs commit: src/sys/kern kern_sig.c src/sys/sys proc.h

John Baldwin jhb at FreeBSD.org
Fri Apr 18 13:59:06 PDT 2003


jhb         2003/04/18 13:59:05 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_sig.c 
    sys/sys              proc.h 
  Log:
  - Make sigonstack() a regular function instead of an inline and add a proc
    lock assertion to it.
  - SIGPENDING() no longer needs sched_lock, so only grab sched_lock to set
    the TDF_NEEDSIGCHK and TDF_ASTPENDING flags in signotify().
  - Add a proc lock assertion to tdsigwakeup().
  - Since we always set TDF_OLDMASK while holding the proc lock, the proc
    lock is sufficient protection to check its state in postsig() and we only
    need sched_lock when clearing the actual flag.
  
  Revision  Changes    Path
  1.228     +23 -5     src/sys/kern/kern_sig.c
  1.317     +1 -16     src/sys/sys/proc.h


More information about the cvs-all mailing list